remove unused catch
This commit is contained in:
parent
2fee7f3186
commit
7a74364af6
1 changed files with 4 additions and 7 deletions
|
@ -150,13 +150,10 @@ public abstract class PluginBase {
|
||||||
|
|
||||||
protected void onStart() {
|
protected void onStart() {
|
||||||
if (getType() == PluginType.PUMP) {
|
if (getType() == PluginType.PUMP) {
|
||||||
try {
|
|
||||||
new Thread(() -> {
|
new Thread(() -> {
|
||||||
SystemClock.sleep(3000);
|
SystemClock.sleep(3000);
|
||||||
ConfigBuilderPlugin.getCommandQueue().readStatus("Pump driver changed.", null);
|
ConfigBuilderPlugin.getCommandQueue().readStatus("Pump driver changed.", null);
|
||||||
}).start();
|
}).start();
|
||||||
} catch (Exception ignored) { // Thread fail to start in tests
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue