mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
✨ Terminate connection if incoming message cant be parsed.
This commit is contained in:
parent
bf55250ae9
commit
d24d45f4cb
1 changed files with 2 additions and 1 deletions
|
@ -115,7 +115,8 @@
|
||||||
(a/offer! input-ch message))
|
(a/offer! input-ch message))
|
||||||
(catch Throwable e
|
(catch Throwable e
|
||||||
(l/warn :hint "error on decoding incoming message from websocket"
|
(l/warn :hint "error on decoding incoming message from websocket"
|
||||||
:cause e))))
|
:cause e)
|
||||||
|
(on-terminate))))
|
||||||
|
|
||||||
on-pong
|
on-pong
|
||||||
(fn [_ buffer]
|
(fn [_ buffer]
|
||||||
|
|
Loading…
Reference in a new issue