Skip to content

Commit 33868d8

Browse files
author
rector-bot
committed
[ci-review] Apply changes from Rector action.
1 parent b80b489 commit 33868d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Middleware/ErrorCatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
133133
} catch (Throwable $t) {
134134
try {
135135
$this->eventDispatcher?->dispatch(new ApplicationError($t));
136-
} catch (Throwable $e) {
136+
} catch (Throwable) {
137137
// ignore exceptions thrown in event handlers
138138
}
139139
return $this->generateErrorResponse($t, $request);

0 commit comments

Comments
 (0)