Skip to content

Commit

Permalink
Send alert message to client on error
Browse files Browse the repository at this point in the history
  • Loading branch information
danielb987 committed Jan 25, 2019
1 parent 605d1b5 commit 095a19c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions java/src/jmri/jmrit/withrottle/MultiThrottle.java
Expand Up @@ -130,6 +130,7 @@ protected void stealThrottleController(String key, String action) {
private boolean isValidAddr(String key) {
if (key.length() < 2) {
String msg = Bundle.getMessage("ErrorAddressTooShort", key);
parentController.sendAlertMessage(msg);
log.warn(msg);
return false;
}
Expand Down

0 comments on commit 095a19c

Please sign in to comment.