Skip to content

Commit 61862b2

Browse files
committed
Rethrow error in websocket
1 parent a15296e commit 61862b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/WebSockets.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ function open(f::Function, url; suppress_close_error::Bool=false, verbose=false,
384384
close(ws, CloseFrameBody(1008, "Unexpected client websocket error"))
385385
end
386386
end
387+
rethrow()
387388
finally
388389
if !isclosed(ws)
389390
close(ws, CloseFrameBody(1000, ""))

0 commit comments

Comments
 (0)