summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2015-10-20 15:39:00 +0200
committerDylan William Hardison <dylan@hardison.net>2015-10-20 15:39:00 +0200
commit746331123dd037e116f6f4caba62ac7dc95f3afc (patch)
tree7bbdbbb8c60c348aff7e82cb7ee00092f65115cb /Bugzilla/WebService
parent0ce40b991790cd7695f289b27237b8f2751e5f9b (diff)
downloadbugzilla-746331123dd037e116f6f4caba62ac7dc95f3afc.tar.gz
bugzilla-746331123dd037e116f6f4caba62ac7dc95f3afc.tar.xz
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."
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r--Bugzilla/WebService/Server.pm4
1 files changed, 3 insertions, 1 deletions
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();