Assume model is offline, if an exception occurs while checking the

online state.
This commit is contained in:
0xboobface 2018-07-14 13:05:11 +02:00
parent 0e9ac9832e
commit dedbc30a46
1 changed files with 2 additions and 1 deletions

View File

@ -351,8 +351,9 @@ public class LocalRecorder implements Recorder {
LOG.info("Model {}'s room back to public. Starting recording", model);
startRecordingProcess(model);
}
} catch (IOException e) {
} catch (Exception e) {
LOG.error("Couldn't check if model {} is online", model.getName(), e);
model.setOnline(false);
}
}
}