mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-04 08:19:50 +00:00
Merge pull request #4780 from Jacob-Swanson/mail-test-exception-message
* pr/4780: Fix mail connection test exception message
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ public class MailSenderValidatorAutoConfiguration {
|
||||
this.mailSender.testConnection();
|
||||
}
|
||||
catch (MessagingException ex) {
|
||||
throw new IllegalStateException("Mail server is not unavailable", ex);
|
||||
throw new IllegalStateException("Mail server is not available", ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user