From 620cb63ec17f745911e30407c28b3bb630c76379 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 6 Jun 2013 09:01:15 +0200 Subject: [PATCH] END_OF_REQUEST-Exception auch bei eingeschaltetem "backtrace on die" erkennen --- SL/Dispatcher.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index a52e4bd4b..01b6aff2e 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -286,7 +286,7 @@ sub handle_request { 1; } or do { - if ($EVAL_ERROR ne END_OF_REQUEST) { + if (substr($EVAL_ERROR, 0, length(END_OF_REQUEST())) ne END_OF_REQUEST()) { my $error = $EVAL_ERROR; print STDERR $error; -- 2.20.1