diff --git a/backend/src/app/http/sse.clj b/backend/src/app/http/sse.clj index 3da84322cb..e3f1bebc33 100644 --- a/backend/src/app/http/sse.clj +++ b/backend/src/app/http/sse.clj @@ -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)