Can Tracy halt execution?

materix
Member | 65
+
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 | 63
+
+3
-

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