Skip to content

Commit 035aa86

Browse files
committed
fix RuntimeException variable on cannot connect to db
1 parent fe98850 commit 035aa86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Handler/Logging.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public function handleErrorException(Throwable $t, RequestInterface $request) :
232232

233233
$this->logger->log($collectedExceptionData['priority'], $collectedExceptionData['errorMessage'], $extra);
234234
} catch (RuntimeException $e) {
235-
$collectedExceptionData = $this->collectErrorExceptionData($t);
235+
$collectedExceptionData = $this->collectErrorExceptionData($e);
236236
$extra = $this->collectErrorExceptionExtraData($collectedExceptionData, $request);
237237
}
238238

0 commit comments

Comments
 (0)