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 282e6ea commit 6ab5764Copy full SHA for 6ab5764
lib/db_connection/util.ex
@@ -17,8 +17,8 @@ defmodule DBConnection.Util do
17
Set a process label if `Process.set_label/1` is available.
18
"""
19
def set_label(label) do
20
- if function_exported?(Process, :set_label, 1) do
21
- Process.set_label(label)
+ if function_exported?(:proc_lib, :set_label, 1) do
+ :proc_lib.set_label(label)
22
else
23
:ok
24
end
0 commit comments