From 188f4fc701fb62c82b2ed4dd3b6bbba8fbe5f1e1 Mon Sep 17 00:00:00 2001 From: Karchnu Date: Mon, 31 Aug 2020 05:05:27 +0200 Subject: [PATCH] closing become a simple information (not an error) --- src/websocketd.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/websocketd.cr b/src/websocketd.cr index 37adeb9..7c7db37 100644 --- a/src/websocketd.cr +++ b/src/websocketd.cr @@ -306,7 +306,7 @@ def websocket_switching_procedure (activefd : Int) still_something_to_read = ! wsclient.ws.io.empty? if wsclient.closed? - Baguette::Log.error "client #{activefd} is closing" + Baguette::Log.info "client #{activefd} is closing" Context.context.remove_fd activefd return end