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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user