We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d572b07 commit 2512738Copy full SHA for 2512738
lib/db_connection/ownership/manager.ex
@@ -223,7 +223,7 @@ defmodule DBConnection.Ownership.Manager do
223
{:noreply, state}
224
225
:not_found when mode == :manual ->
226
- not_found(from)
+ not_found(from, mode)
227
228
229
:not_found ->
@@ -393,9 +393,10 @@ defmodule DBConnection.Ownership.Manager do
393
caller
394
end
395
396
- defp not_found({pid, _} = from) do
+ defp not_found({pid, _} = from, mode) do
397
msg = """
398
- cannot find ownership process for #{Util.inspect_pid(pid)}.
+ cannot find ownership process for #{Util.inspect_pid(pid)}
399
+ using mode #{inspect(mode)}.
400
401
When using ownership, you must manage connections in one
402
of the four ways:
0 commit comments