Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions lib/db_connection/ownership/manager.ex
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ defmodule DBConnection.Ownership.Manager do
{:noreply, state}

:not_found when mode == :manual ->
not_found(from)
not_found(from, mode)
{:noreply, state}

:not_found ->
Expand Down Expand Up @@ -393,9 +393,10 @@ defmodule DBConnection.Ownership.Manager do
caller
end

defp not_found({pid, _} = from) do
defp not_found({pid, _} = from, mode) do
msg = """
cannot find ownership process for #{Util.inspect_pid(pid)}.
cannot find ownership process for #{Util.inspect_pid(pid)}
using mode #{inspect(mode)}.

When using ownership, you must manage connections in one
of the four ways:
Expand Down