Skip to content

Commit 716122c

Browse files
committed
System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
1 parent 3d305bf commit 716122c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/scenic/cache/base.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ defmodule Scenic.Cache.Base do
11211121
GenServer.cast(pid, {module, type, target})
11221122
catch
11231123
kind, reason ->
1124-
formatted = Exception.format(kind, reason, System.stacktrace())
1124+
formatted = Exception.format(kind, reason, __STACKTRACE__ )
11251125
IO.puts("dispatch_notification/3 failed with #{formatted}")
11261126
end
11271127
end

0 commit comments

Comments
 (0)