diff options
Diffstat (limited to 'jsonrpc.cgi')
-rwxr-xr-x | jsonrpc.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonrpc.cgi b/jsonrpc.cgi index 6a60c9d3e..0b56d57c1 100755 --- a/jsonrpc.cgi +++ b/jsonrpc.cgi @@ -16,7 +16,7 @@ use Bugzilla::Error; use Bugzilla::WebService::Constants; BEGIN { if (!Bugzilla->feature('jsonrpc')) { - ThrowCodeError('feature_disabled', { feature => 'jsonrpc' }); + ThrowUserError('feature_disabled', { feature => 'jsonrpc' }); } } use Bugzilla::WebService::Server::JSONRPC; |