Commit 3adffc9c by Qiang Xue

Exit error handling to avoid handling exceptions multiple times.

parent 2d55efdc
...@@ -472,7 +472,7 @@ abstract class Application extends Module ...@@ -472,7 +472,7 @@ abstract class Application extends Module
foreach ($trace as $frame) { foreach ($trace as $frame) {
if ($frame['function'] == '__toString') { if ($frame['function'] == '__toString') {
$this->handleException($exception); $this->handleException($exception);
return; exit(1);
} }
} }
......
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