Improve diagnostics for start failures in TomcatStarter
Closes gh-5934
This commit is contained in:
parent
00f9adafd7
commit
9e4eb037f6
|
|
@ -60,7 +60,8 @@ class TomcatStarter implements ServletContainerInitializer {
|
|||
// Prevent Tomcat from logging and re-throwing when we know we can
|
||||
// deal with it in the main thread, but log for information here.
|
||||
if (logger.isErrorEnabled()) {
|
||||
logger.error("Error starting Tomcat context: " + ex.getClass().getName());
|
||||
logger.error("Error starting Tomcat context. Exception: "
|
||||
+ ex.getClass().getName() + ". Message: " + ex.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue