diff options
author | 2015-01-23 17:26:58 +0000 | |
---|---|---|
committer | 2015-01-23 17:26:58 +0000 | |
commit | ecf2254e96ef854030421da12994ef5f08292073 (patch) | |
tree | 7f50001484f9f6e035f514f3a6a49db0c0537faa | |
parent | Bump version post-release (diff) | |
download | bugzilla-ecf2254e96ef854030421da12994ef5f08292073.tar.gz bugzilla-ecf2254e96ef854030421da12994ef5f08292073.tar.bz2 bugzilla-ecf2254e96ef854030421da12994ef5f08292073.zip |
Bug 1124716: regression caused by bug 1090275 to whitelist webservice methods causes test failures with t/012throwables.t
r=dylan,a=glob
-rw-r--r-- | Bugzilla/WebService/Server/JSONRPC.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Server/JSONRPC.pm b/Bugzilla/WebService/Server/JSONRPC.pm index f1b31cfd0..1b0e20d60 100644 --- a/Bugzilla/WebService/Server/JSONRPC.pm +++ b/Bugzilla/WebService/Server/JSONRPC.pm @@ -391,7 +391,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. |