Polish
Closes gh-5013
This commit is contained in:
committed by
Stephane Nicoll
parent
4c1bb38878
commit
9a31e02806
@@ -829,7 +829,7 @@ public class SpringApplication {
|
||||
}
|
||||
try {
|
||||
try {
|
||||
handeExitCode(context, exception);
|
||||
handleExitCode(context, exception);
|
||||
listeners.finished(context, exception);
|
||||
}
|
||||
finally {
|
||||
@@ -856,7 +856,7 @@ public class SpringApplication {
|
||||
}
|
||||
}
|
||||
|
||||
private void handeExitCode(ConfigurableApplicationContext context,
|
||||
private void handleExitCode(ConfigurableApplicationContext context,
|
||||
Throwable exception) {
|
||||
int exitCode = getExitCodeFromException(context, exception);
|
||||
if (exitCode != 0) {
|
||||
|
||||
Reference in New Issue
Block a user