diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-05-21 23:35:39 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-06-28 22:41:57 +0200 |
commit | 22ee1570249f5382cecbaa44f57f5fdc96e2b02a (patch) | |
tree | 999f6c599aaf963ccbb10e8eb23f85443a2e4fd0 /Bugzilla/Error.pm | |
parent | 09c70a582658841bc9dfa758a20bbf6fb95383a7 (diff) | |
download | bugzilla-22ee1570249f5382cecbaa44f57f5fdc96e2b02a.tar.gz bugzilla-22ee1570249f5382cecbaa44f57f5fdc96e2b02a.tar.xz |
more working
Diffstat (limited to 'Bugzilla/Error.pm')
-rw-r--r-- | Bugzilla/Error.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Error.pm b/Bugzilla/Error.pm index bd2442410..9fcd16386 100644 --- a/Bugzilla/Error.pm +++ b/Bugzilla/Error.pm @@ -128,6 +128,7 @@ sub _throw_error { # of JSON::RPC. So, in that circumstance, instead of exiting, # we die with no message. JSON::RPC checks raise_error before # it checks $@, so it returns the proper error. + die if _in_eval(); $server->response($server->error_response_header); } } @@ -257,6 +258,7 @@ sub ThrowErrorPage { message => $message, id => $server->{_bz_request_id}, version => $server->version); + die if _in_eval(); $server->response($server->error_response_header); } } else { |