mirror of
https://github.com/penpot/penpot.git
synced 2025-03-10 14:51:37 -05:00
✨ Add EOF handling on sse response helper
This commit is contained in:
parent
002b1679c3
commit
ea6731e22b
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@
|
|||
(try
|
||||
(let [result (handler)]
|
||||
(events/tap :end result))
|
||||
|
||||
(catch java.io.EOFException cause
|
||||
(events/tap :error (errors/handle' cause request)))
|
||||
(catch Throwable cause
|
||||
(l/err :hint "unexpected error on processing sse response"
|
||||
:cause cause)
|
||||
|
|
Loading…
Add table
Reference in a new issue