From: Dylan William Hardison Date: Tue, 20 Oct 2015 13:39:00 +0000 (-0400) Subject: Bug 1209625 - Error when using bzexport: abort: REST error on PUT to https://bugzilla... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=746331123dd037e116f6f4caba62ac7dc95f3afc;p=thirdparty%2Fbugzilla.git Bug 1209625 - Error when using bzexport: abort: REST error on PUT to https://bugzilla.mozilla.org/rest/bug/1209611: The requested method 'Bug.update' was not found." --- diff --git a/Bugzilla/WebService/Server.pm b/Bugzilla/WebService/Server.pm index e61a1f600..48e284518 100644 --- a/Bugzilla/WebService/Server.pm +++ b/Bugzilla/WebService/Server.pm @@ -37,7 +37,9 @@ sub handle_login { } eval "require $class"; - ThrowCodeError('unknown_method', {method => $full_method}) if $@; + my $error = $@; + warn "$error" if $error; + ThrowCodeError('unknown_method', {method => $full_method}) if $error; return if ($class->login_exempt($method) and !defined Bugzilla->input_params->{Bugzilla_login}); Bugzilla->login();