mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 04:37:38 +02:00
Merge branch '1.x'
This commit is contained in:
@@ -76,7 +76,7 @@ class RollbarHandlerTest extends TestCase
|
|||||||
private function createExceptionRecord($level = Logger::DEBUG, $message = 'test', $exception = null): array
|
private function createExceptionRecord($level = Logger::DEBUG, $message = 'test', $exception = null): array
|
||||||
{
|
{
|
||||||
return $this->getRecord($level, $message, [
|
return $this->getRecord($level, $message, [
|
||||||
'exception' => $exception ?? new Exception()
|
'exception' => $exception ?: new Exception()
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user