mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-01 06:49:42 +00:00
TomcatEmbeddedServletContainer now fails fast, if there are exceptions during protocol handler startup (re-throw exception)
This commit is contained in:
+2
@@ -107,6 +107,8 @@ public class TomcatEmbeddedServletContainer implements EmbeddedServletContainer
|
||||
}
|
||||
catch (Exception ex) {
|
||||
this.logger.error("Cannot start connector: ", ex);
|
||||
throw new EmbeddedServletContainerException(
|
||||
"Unable to start embdedded Tomcat connectors", ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user