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 12a2ead commit 02bf591Copy full SHA for 02bf591
lib/db_connection/util.ex
@@ -31,8 +31,8 @@ defmodule DBConnection.Util do
31
Set a process label if `Process.set_label/1` is available.
32
"""
33
def set_label(label) do
34
- if function_exported?(:proc_lib, :set_label, 1) do
35
- :proc_lib.set_label(label)
+ if function_exported?(Process, :set_label, 1) do
+ Process.set_label(label)
36
else
37
:ok
38
end
0 commit comments