Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit 773cecd

Browse files
committed
Feat: output the error
1 parent fca7a89 commit 773cecd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Events/ApplicationErrors.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use Modulus\Http\Rest;
66
use Modulus\Utility\View;
77
use Modulus\Utility\Event;
8+
use AtlantisPHP\Telemonlog\Output;
89

910
class ApplicationErrors extends Event
1011
{
@@ -16,6 +17,8 @@ class ApplicationErrors extends Event
1617
*/
1718
protected function handle($exception)
1819
{
20+
Output::error($exception);
21+
1922
if ($this->isAjax()) {
2023
$this->toJson($exception);
2124
return;

0 commit comments

Comments
 (0)