b236355
Branches > main > b236355 > files / src / dev
Catch all Throwables and not just Exceptions in the client stream handler
Commit: b236355fb95656d47c1241f9dcf9cdd960cd7b9a
Parent: 7b97728
1 changed file:
src/net/bowmap/core.clj view file
@@ -38,7 +38,7 @@ (try (ByteBuf/.writeBytes (::buf client) bs) (handle-packets client)- (catch Exception e+ (catch Throwable e (prn "Exception in bytes:" e) (.close (::stream client)))))