Skip to content

Commit 2742ad0

Browse files
authored
Update Servers.jl
1 parent 5cd586d commit 2742ad0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Servers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ function handle_connection(f, c::Connection, listener, readtimeout, access_log)
460460
catch e
461461
# The remote can close the stream whenever it wants to, but there's nothing
462462
# anyone can do about it on this side. No reason to log an error in that case.
463-
level = e isa Base.IOError && !isopen(c) ? Logging.Debug : Logging.Error
463+
level = e isa Base.IOError ? Logging.Debug : Logging.Error
464464
msg = current_exceptions_to_string()
465465
@logmsgv 1 level "handle_connection handler error. $msg"
466466

0 commit comments

Comments
 (0)