mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-04 04:07:39 +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
|
||||
{
|
||||
return $this->getRecord($level, $message, [
|
||||
'exception' => $exception ?? new Exception()
|
||||
'exception' => $exception ?: new Exception()
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user