summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();