diff --git a/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php b/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php
index 7ab61b64d9dee29cd9dc2c949de470e582f6dd70..602a456a1ab52ffbaf4832a15811d2a3e356fc44 100644
--- a/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php
+++ b/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php
@@ -129,7 +129,7 @@ abstract class AbstractExceptionHandler implements ExceptionHandlerInterface, Si
         try {
             // Write error message to sys_log table
             $this->writeLog($logTitle . ': ' . $logMessage);
-        } catch (\Exception $exception) {
+        } catch (\Throwable $exception) {
         }
     }