From 2742ad0d1580a3943fd334f2b1c75a035b381d39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krystian=20Guli=C5=84ski?= Date: Thu, 26 Oct 2023 12:48:55 +0200 Subject: [PATCH] Update Servers.jl --- src/Servers.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Servers.jl b/src/Servers.jl index 4a8f37194..218d4698e 100644 --- a/src/Servers.jl +++ b/src/Servers.jl @@ -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"