mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 04:37:38 +02:00
Fix fix
This commit is contained in:
@@ -84,7 +84,7 @@ class SwiftMailerHandler extends MailHandler
|
||||
}
|
||||
|
||||
if (!$message instanceof Swift_Message) {
|
||||
throw new \InvalidArgumentException('Could not resolve message as instance of Swift_Message or a callable returning it' . Utils::getRecordMessageForException($record));
|
||||
throw new \InvalidArgumentException('Could not resolve message as instance of Swift_Message or a callable returning it' . Utils::getRecordMessageForException(reset($records)));
|
||||
}
|
||||
|
||||
if ($records) {
|
||||
|
Reference in New Issue
Block a user