Skip to content

Commit 7463311

Browse files
committed
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."
1 parent 0ce40b9 commit 7463311

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Bugzilla/WebService/Server.pm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ sub handle_login {
3737
}
3838

3939
eval "require $class";
40-
ThrowCodeError('unknown_method', {method => $full_method}) if $@;
40+
my $error = $@;
41+
warn "$error" if $error;
42+
ThrowCodeError('unknown_method', {method => $full_method}) if $error;
4143
return if ($class->login_exempt($method)
4244
and !defined Bugzilla->input_params->{Bugzilla_login});
4345
Bugzilla->login();

0 commit comments

Comments
 (0)