Various fixes

This commit is contained in:
crschnick
2024-04-15 04:40:50 +00:00
parent 7bce1e8f3b
commit d9e23b9ebf
30 changed files with 246 additions and 45 deletions
@@ -67,7 +67,12 @@ public interface ShellControl extends ProcessControl {
}
default <T extends ShellStoreState> ShellControl withShellStateFail(StatefulDataStore<T> store) {
return onStartupFail(shellControl -> {
return onStartupFail(t -> {
// Ugly
if (t.getClass().getSimpleName().equals("LicenseRequiredException")) {
return;
}
var s = store.getState();
s.setRunning(false);
store.setState(s);