Skip to content

Commit 1827eb3

Browse files
committed
Avoid warning when labels aren't supported
1 parent 37ad16f commit 1827eb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/db_connection/util.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ defmodule DBConnection.Util do
3232
"""
3333
def set_label(label) do
3434
if function_exported?(Process, :set_label, 1) do
35-
Process.set_label(label)
35+
apply(Process, :set_label, [label])
3636
else
3737
:ok
3838
end

0 commit comments

Comments
 (0)