mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Fix mail connection test exception message
Closes gh-4780
This commit is contained in:
parent
5a1ee6ebe8
commit
ae565b805a
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user