Skip to content

Commit

Permalink
Update Servers.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
krynju authored Oct 26, 2023
1 parent 5cd586d commit 2742ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Servers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ function handle_connection(f, c::Connection, listener, readtimeout, access_log)
catch e
# The remote can close the stream whenever it wants to, but there's nothing
# anyone can do about it on this side. No reason to log an error in that case.
level = e isa Base.IOError && !isopen(c) ? Logging.Debug : Logging.Error
level = e isa Base.IOError ? Logging.Debug : Logging.Error
msg = current_exceptions_to_string()
@logmsgv 1 level "handle_connection handler error. $msg"

Expand Down

0 comments on commit 2742ad0

Please sign in to comment.