Skip to content

Commit

Permalink
Added Tracy Debugger logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaj committed Mar 23, 2016
1 parent 1ab698a commit 0974361
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Tomaj\Hermes;

use Exception;
use Nette\Application\AbortException;
use Psr\Log\LoggerInterface;
use Psr\Log\LogLevel;
use Tomaj\Hermes\Handler\HandlerInterface;
Expand Down Expand Up @@ -107,6 +106,8 @@ public function handle()
});
} catch (RestartException $e) {
$this->log(LogLevel::NOTICE, 'Existing hermes dispatcher - restart');
} catch (Exception $exception) {
Debugger::log($exception, Debugger::EXCEPTION);
}
}

Expand Down

0 comments on commit 0974361

Please sign in to comment.