Commit 6d5669f7 authored by David Lawrence's avatar David Lawrence

Bug 1124716: regression caused by bug 1090275 to whitelist webservice methods…

Bug 1124716: regression caused by bug 1090275 to whitelist webservice methods causes test failures with t/012throwables.t r=dylan,a=glob
parent 25c0962c
...@@ -381,7 +381,7 @@ sub _argument_type_check { ...@@ -381,7 +381,7 @@ sub _argument_type_check {
# Only allowed methods to be used from our whitelist # Only allowed methods to be used from our whitelist
if (none { $_ eq $method} $pkg->PUBLIC_METHODS) { 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. # This is the best time to do login checks.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment