Skip to content

Commit dfab5a3

Browse files
committed
[Mailer] Fix string-cast of exceptions thrown by authenticator in EsmtpTransport
1 parent 603703c commit dfab5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/Smtp/EsmtpTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ private function handleAuth(array $modes): void
173173
}
174174

175175
// keep the error message, but tries the other authenticators
176-
$errors[$authenticator->getAuthKeyword()] = $e;
176+
$errors[$authenticator->getAuthKeyword()] = $e->getMessage();
177177
}
178178
}
179179

0 commit comments

Comments
 (0)