TomcatEmbeddedServletContainer now fails fast, if there are exceptions during protocol handler startup (re-throw exception)

This commit is contained in:
nitram509 2013-11-15 17:34:20 +01:00 committed by Dave Syer
parent 371fa489ee
commit c50fe0733b
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}
}
}