Commit c50fe073 authored by nitram509's avatar nitram509 Committed by Dave Syer

TomcatEmbeddedServletContainer now fails fast, if there are exceptions during...

TomcatEmbeddedServletContainer now fails fast, if there are exceptions during protocol handler startup (re-throw exception)
parent 371fa489
...@@ -107,6 +107,8 @@ public class TomcatEmbeddedServletContainer implements EmbeddedServletContainer ...@@ -107,6 +107,8 @@ public class TomcatEmbeddedServletContainer implements EmbeddedServletContainer
} }
catch (Exception ex) { catch (Exception ex) {
this.logger.error("Cannot start connector: ", ex); this.logger.error("Cannot start connector: ", ex);
throw new EmbeddedServletContainerException(
"Unable to start embdedded Tomcat connectors", ex);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment