Skip to content

Commit 4f14346

Browse files
committed
Update Servers.jl
1 parent a380230 commit 4f14346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Servers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ function handle_connection(f, c::Connection, listener, readtimeout, access_log,
480480
# The remote can close the stream whenever it wants to, but there's nothing
481481
# anyone can do about it on this side. No reason to log an error in that case.
482482
client_closed = e isa Base.IOError && e.code in (Base.UV_EPIPE, Base.UV_ECONNRESET, Base.UV_ECONNABORTED)
483-
level = (e isa Base.IOError && !isopen(c)) || client_closed ? Logging.Debug : Logging.Error
483+
level = e isa Base.IOError || client_closed ? Logging.Debug : Logging.Error
484484
@logmsgv 1 level begin
485485
msg = current_exceptions_to_string()
486486
"handle_connection handler error. $msg"

0 commit comments

Comments
 (0)