diff --git a/lib/bandit/websocket/connection.ex b/lib/bandit/websocket/connection.ex index 3b8ca14c..528e7528 100644 --- a/lib/bandit/websocket/connection.ex +++ b/lib/bandit/websocket/connection.ex @@ -282,8 +282,8 @@ defmodule Bandit.WebSocket.Connection do {:continue, connection} - {:error, _reason} -> - do_error(1007, "Deflation error", socket, connection) + {:error, reason} -> + do_error(1007, "Deflation error: #{inspect(reason)}", socket, connection) end end