diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 91b4b42ffcf..19c0ab58817 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -7805 \ No newline at end of file +7806 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/.gitrev b/mozilla/webtools/bugzilla/.gitrev index 2590ecd97b2..da71416effe 100644 --- a/mozilla/webtools/bugzilla/.gitrev +++ b/mozilla/webtools/bugzilla/.gitrev @@ -1 +1 @@ -c4dbb67945543139570a1859812cd0642aed47d5 \ No newline at end of file +2ba08235aae379dd32d821de4007cb3bcb37d48b \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/WebService/Server/JSONRPC.pm b/mozilla/webtools/bugzilla/Bugzilla/WebService/Server/JSONRPC.pm index 1f1840d4b20..6586a9bb8df 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/WebService/Server/JSONRPC.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/WebService/Server/JSONRPC.pm @@ -390,7 +390,7 @@ sub _argument_type_check { # Only allowed methods to be used from our whitelist if (none { $_ eq $method} $pkg->PUBLIC_METHODS) { - ThrowUserError('unknown_method', { method => $self->bz_method_name }); + ThrowCodeError('unknown_method', { method => $self->_bz_method_name }); } # This is the best time to do login checks.