Can Tracy halt execution?

materix
Generous Backer | 52
+
0
-

I have this code:


use Tracy\Debugger;

try {
  $this->someOperation();
} catch (\Exception $e) {
  Debugger::log($e->getMessage(), Debugger::EXCEPTION);
  die(); //to halt execution
}

The problem is that die() results in a blank white page, when an exception happens. Is it instead possible to halt further code-execution, and also display the common Tracy error-page?

Rick Strafy
Nette Blogger | 54
+
+3
-

Try to throw it again (throw $e) after Debugger::log