Messaging tweaks for `InstallUncaughtExceptionHandler`
@@ -40,7 +40,7 @@ public class InstallUncaughtExceptionHandler {
"Failed to set the default UncaughtExceptionHandler. " +
"If any threads die due to unhandled coding errors then there will be no logging of this information. " +
"The lack of this diagnostic information will make it harder to track down issues which will reduce the supportability of Jenkins. " +
- "It is highly recommended that you consult the documentation that comes with you servlet container on how to allow the " +
+ "It is highly recommended that you consult the documentation that comes with your servlet container on how to allow the " +
"`setDefaultUncaughtExceptionHandler` permission and enable it.", ex);
}
}
@@ -100,7 +100,7 @@ public class InstallUncaughtExceptionHandler {
// if this was an OutOfMemoryError then all bets about logging are off - but in the absence of anything else...
LOGGER.log(Level.SEVERE,
"A thread (" + t.getName() + '/' + t.getId()
- + ") died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.",
+ + ") died unexpectedly due to an uncaught exception. This may leave your server corrupted and usually indicates a software bug.",
ex);
}
