Skip to content

Commit 2660c6b

Browse files
committed
List options given when setopts fail
1 parent d990017 commit 2660c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/postgrex/protocol.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3507,7 +3507,7 @@ defmodule Postgrex.Protocol do
35073507
:ok
35083508

35093509
{:error, reason} ->
3510-
disconnect(s, tag(mod), "setopts", reason, buffer)
3510+
disconnect(s, tag(mod), "setopts: #{inspect(opts)}", reason, buffer)
35113511
end
35123512
end
35133513

0 commit comments

Comments
 (0)