mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-24 18:16:10 +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
|
* @private
|
||||||
*/
|
*/
|
||||||
public function handleException(\Exception $e)
|
public function handleException($e)
|
||||||
{
|
{
|
||||||
$this->logger->log(
|
$this->logger->log(
|
||||||
$this->uncaughtExceptionLevel === null ? LogLevel::ERROR : $this->uncaughtExceptionLevel,
|
$this->uncaughtExceptionLevel === null ? LogLevel::ERROR : $this->uncaughtExceptionLevel,
|
||||||
|
|||||||
Reference in New Issue
Block a user