]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1209625 - Error when using bzexport: abort: REST error on PUT to https://bugzilla...
authorDylan William Hardison <dylan@hardison.net>
Tue, 20 Oct 2015 13:39:00 +0000 (09:39 -0400)
committerDylan William Hardison <dylan@hardison.net>
Tue, 20 Oct 2015 13:39:00 +0000 (09:39 -0400)
Bugzilla/WebService/Server.pm

index e61a1f6002efd76e2c0cf641769cc9c9b465e84d..48e28451896a047f177eb6199bbf4edc241eee2c 100644 (file)
@@ -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();