Skip to content

Commit 81b0678

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: [Mailer] Fix string-cast of exceptions thrown by authenticator in EsmtpTransport [Cache] fix error handling [Security] Fix wrong authenticator class in debug logs 43460: add missing validator component turkish translations Fix generic type for FormErrorIterator
2 parents d958bef + 9f2e421 commit 81b0678

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
@@ -179,7 +179,7 @@ private function handleAuth(array $modes): void
179179
}
180180

181181
// keep the error message, but tries the other authenticators
182-
$errors[$authenticator->getAuthKeyword()] = $e;
182+
$errors[$authenticator->getAuthKeyword()] = $e->getMessage();
183183
}
184184
}
185185

0 commit comments

Comments
 (0)