Skip to content
Permalink
Browse files

include thread name in Warrant method that disposes of throttle.

  • Loading branch information...
pabender committed Sep 15, 2019
1 parent 4f816f4 commit 2c9841f851c571225f9f5dda14bf99cc4f1e4a62
Showing with 2 additions and 1 deletion.
  1. +2 −1 java/src/jmri/jmrit/logix/Warrant.java
@@ -934,7 +934,8 @@ protected void releaseThrottle(DccThrottle throttle) {
if (tm != null) {
tm.releaseThrottle(throttle, this);
} else {
log.error(Bundle.getMessage("noThrottle", throttle.getLocoAddress()));
log.error("{} on thread {}",Bundle.getMessage("noThrottle", throttle.getLocoAddress()),
Thread.currentThread().getName());
}
}
}

0 comments on commit 2c9841f

Please sign in to comment.
You can’t perform that action at this time.