Skip to content

Commit dca6572

Browse files
committed
Fix error still being thrown
1 parent 7363c92 commit dca6572

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/clientlayers/MessageRequest.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ function messagelayer(handler)
2020
catch e
2121
if e isa StatusError
2222
resp = e.response
23-
else
24-
rethrow(e)
2523
end
24+
rethrow(e)
2625
finally
2726
if @isdefined(resp) && iserror(resp) && haskey(resp.request.context, :response_body)
2827
if isbytes(resp.body)

0 commit comments

Comments
 (0)