Skip to content

Commit 3258257

Browse files
committed
Silence any errors from breadcrumbs
1 parent b1b3825 commit 3258257

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Breadcrumbs/Breadcrumb.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ public function handle($event)
2424
return;
2525
}
2626

27-
$this->handleEvent($event);
27+
try {
28+
$this->handleEvent($event);
29+
} catch (\Throwable $e) {
30+
// Do nothing; we shouldn't crash the user's app for this.
31+
}
2832
}
2933
}

0 commit comments

Comments
 (0)