Improve display of error state in Combo tab.
This commit is contained in:
parent
7fa59c6c16
commit
222ad0a527
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ public class ComboPlugin implements PluginBase, PumpInterface {
|
||||||
statusSummary = "Idle";
|
statusSummary = "Idle";
|
||||||
pumpState = commandResult.state;
|
pumpState = commandResult.state;
|
||||||
} else {
|
} else {
|
||||||
statusSummary = "Command failed: " + command;
|
statusSummary = "Error";
|
||||||
pumpState = new PumpState();
|
pumpState = new PumpState();
|
||||||
pumpState.errorMsg = commandResult.message != null
|
pumpState.errorMsg = commandResult.message != null
|
||||||
? commandResult.message
|
? commandResult.message
|
||||||
|
|
Loading…
Reference in a new issue