Skip to content

Commit

Permalink
Add debugging statement to report exceptions in
Browse files Browse the repository at this point in the history
development environment
  • Loading branch information
andrasbacsai committed Nov 13, 2023
1 parent 776b1cb commit c4d9dea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public function register(): void
{
$this->reportable(function (Throwable $e) {
if (isDev()) {
ray($e);
return;
}
$this->settings = InstanceSettings::get();
Expand Down

0 comments on commit c4d9dea

Please sign in to comment.