forked from j62/ctbrec
Reset MFC WS on message parsing exception
This commit is contained in:
parent
8b15c27e61
commit
05837b2fed
|
@ -320,6 +320,7 @@ public class MyFreeCamsClient {
|
||||||
LOG.error("Error while decoding ctxenc URL", e);
|
LOG.error("Error while decoding ctxenc URL", e);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOG.error("Exception occured while processing websocket message {}", msgBuffer, e);
|
LOG.error("Exception occured while processing websocket message {}", msgBuffer, e);
|
||||||
|
ws.close(1000, "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue