File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ public static function captureUnhandledException(Throwable $throwable): ?EventId
200200 private static function makeAnEducatedGuessIfTheExceptionMaybeWasHandled (): bool
201201 {
202202 // We limit the amount of backtrace frames since it is very unlikely to be any deeper
203- $ trace = debug_backtrace (DEBUG_BACKTRACE_IGNORE_ARGS , 10 );
203+ $ trace = debug_backtrace (DEBUG_BACKTRACE_IGNORE_ARGS , 20 );
204204
205205 // We are looking for `$handler->report()` to be called from the `report()` function
206206 foreach ($ trace as $ frameIndex => $ frame ) {
@@ -228,7 +228,7 @@ private static function makeAnEducatedGuessIfTheExceptionMaybeWasHandled(): bool
228228 }
229229
230230 // If we reached this point we can be pretty sure the `report` function was called
231- // and we can can come to the educated conclusion the exception was indeed handled
231+ // and we can come to the educated conclusion the exception was indeed handled
232232 return true ;
233233 }
234234
You can’t perform that action at this time.
0 commit comments