Commit cce03852 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 ce8c9cac
......@@ -407,7 +407,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.
......
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