Skip to content

Commit 7b008da

Browse files
committed
Add comment to error
1 parent 02f22e9 commit 7b008da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/db_connection/ownership/manager.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,9 @@ defmodule DBConnection.Ownership.Manager do
397397
defp not_found({pid, _} = from, mode, repo) do
398398
msg = """
399399
cannot find ownership process for #{Util.inspect_pid(pid)}
400-
using mode #{inspect(mode)} on repo #{inspect(repo)}
400+
using mode #{inspect(mode)} on repo #{inspect(repo)}.
401+
(Note that a connection's mode reverts to :manual if its owner
402+
terminates.)
401403
402404
When using ownership, you must manage connections in one
403405
of the four ways:

0 commit comments

Comments
 (0)