forked from j62/ctbrec
1
0
Fork 0

Reset MFC WS on message parsing exception

This commit is contained in:
0xb00bface 2020-08-21 18:09:55 +02:00
parent 8b15c27e61
commit 05837b2fed
1 changed files with 1 additions and 0 deletions

View File

@ -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, "");
} }
} }