Skip to content

Commit

Permalink
caught throwable will always be set here
Browse files Browse the repository at this point in the history
  • Loading branch information
cconard96 committed Dec 12, 2024
1 parent 454917b commit fcbbb68
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -2437,9 +2437,7 @@ public static function callAsSystem(callable $fn)
} finally {
self::$bypass_right_checks = false;
}
if ($caught_throwable !== null) {
throw $caught_throwable;
}
throw $caught_throwable;
}

/**
Expand Down

0 comments on commit fcbbb68

Please sign in to comment.