Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: 1up-lab/contao-sentry-bundle
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f90ca9435baecf495febc6e7446ffd6f4750c132
Choose a base ref
..
head repository: 1up-lab/contao-sentry-bundle
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f6d310d260db86970caeb66fdcbe11d9a6338473
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Integration/IgnorePreviousExceptionsIntegration.php
2 changes: 1 addition & 1 deletion src/Integration/IgnorePreviousExceptionsIntegration.php
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ public function __invoke(Event $event, ?EventHint $hint): ?Event
$sentry = SentrySdk::getCurrentHub();

foreach ($sentry->getClient()?->getOptions()->getIgnoreExceptions() ?? [] as $class) {
while ($exception = $exception->getPrevious()) {
while ($exception && $exception = $exception->getPrevious()) {
if (\is_a($exception, $class)) {
return null;
}