mirror of
https://github.com/rasilon/ujetl.git
synced 2026-04-11 10:29:29 +00:00
Tidy up subthread catch message
This commit is contained in:
parent
87e2a81b62
commit
f945a48c28
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ public class Job extends Thread {
|
||||||
Thread.UncaughtExceptionHandler h = new Thread.UncaughtExceptionHandler() {
|
Thread.UncaughtExceptionHandler h = new Thread.UncaughtExceptionHandler() {
|
||||||
public void uncaughtException(Thread th, Throwable ex) {
|
public void uncaughtException(Thread th, Throwable ex) {
|
||||||
threadsExit.set(true);
|
threadsExit.set(true);
|
||||||
log.error("Uncaught exception: " + ex);
|
log.error("Job exiting: Caught exception from subthread: " + ex);
|
||||||
System.exit(1);
|
System.exit(1);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue