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