[FOLLOWUP][BUGFIX] Accept \Throwable in ExceptionHandlerInterface 96/45396/2
authorBenni Mack <benni@typo3.org>
Mon, 21 Dec 2015 16:12:34 +0000 (17:12 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 21 Dec 2015 16:14:23 +0000 (17:14 +0100)
The original bugfix did not contain a exception code / timestamp
while throwing an exception. This is added now.

Resolves: #72117
Releases: master, 7.6
Change-Id: I33d6025061c33e43dc78b7d25c6df64940062db9
Reviewed-on: https://review.typo3.org/45396
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php

index 04c617e..47665ab 100644 (file)
@@ -46,7 +46,7 @@ abstract class AbstractExceptionHandler implements ExceptionHandlerInterface, \T
                     $this->echoExceptionWeb($exception);
             }
         } else {
                     $this->echoExceptionWeb($exception);
             }
         } else {
-            throw new \Exception('handleException was called the wrong way.');
+            throw new \Exception('handleException was called the wrong way.', 1450714322);
         }
     }
 
         }
     }