summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Error.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Error.pm')
-rw-r--r--Bugzilla/Error.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/Bugzilla/Error.pm b/Bugzilla/Error.pm
index 9fcd16386..bd2442410 100644
--- a/Bugzilla/Error.pm
+++ b/Bugzilla/Error.pm
@@ -128,7 +128,6 @@ 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);
}
}
@@ -258,7 +257,6 @@ sub ThrowErrorPage {
message => $message,
id => $server->{_bz_request_id},
version => $server->version);
- die if _in_eval();
$server->response($server->error_response_header);
}
} else {