Commit bfc47de5 authored by ipatini's avatar ipatini
Browse files

EMS: Baguette Server: Changed 'ClientShellCommand.run()' method to catch all...

EMS: Baguette Server: Changed 'ClientShellCommand.run()' method to catch all exceptions during interaction with EMS clients, and exit gracefully.
parent 6a3d174e
......@@ -258,7 +258,7 @@ public class ClientShellCommand implements Command, Runnable, SessionAware {
log.info("{}==> Signaling client to exit", id);
out.println("EXIT");
} catch (IOException ex) {
} catch (Exception ex) {
log.warn("{}==> EXCEPTION : {}", id, ex);
out.printf("EXCEPTION %s\n", ex);
this.lastException = ex;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment