Assume model is offline, if an exception occurs while checking the
online state.
This commit is contained in:
parent
0e9ac9832e
commit
dedbc30a46
|
@ -351,8 +351,9 @@ public class LocalRecorder implements Recorder {
|
||||||
LOG.info("Model {}'s room back to public. Starting recording", model);
|
LOG.info("Model {}'s room back to public. Starting recording", model);
|
||||||
startRecordingProcess(model);
|
startRecordingProcess(model);
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (Exception e) {
|
||||||
LOG.error("Couldn't check if model {} is online", model.getName(), e);
|
LOG.error("Couldn't check if model {} is online", model.getName(), e);
|
||||||
|
model.setOnline(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue