From 746331123dd037e116f6f4caba62ac7dc95f3afc Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 20 Oct 2015 09:39:00 -0400 Subject: 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." --- Bugzilla/WebService/Server.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Bugzilla') 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(); -- cgit v1.2.3-24-g4f1b