1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 14:16:42 +02:00

Improve php7 compat (Throwable is the new base type for all exceptions, so Exception is not wide enough)

This commit is contained in:
Jordi Boggiano
2015-07-12 11:55:11 +01:00
parent 2dc16dd802
commit b941eac988

View File

@@ -119,7 +119,7 @@ class ErrorHandler
/**
* @private
*/
public function handleException(\Exception $e)
public function handleException($e)
{
$this->logger->log(
$this->uncaughtExceptionLevel === null ? LogLevel::ERROR : $this->uncaughtExceptionLevel,