mirror of
https://github.com/penpot/penpot.git
synced 2026-05-30 04:08:08 +00:00
✨ Terminate connection if incoming message cant be parsed.
This commit is contained in:
parent
bf55250ae9
commit
d24d45f4cb
@ -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…
x
Reference in New Issue
Block a user