Skip to content

Commit 6559806

Browse files
tverlaanbearice
authored andcommitted
System.stacktrace is deprecated
warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead Invalid call found at 2 locations: lib/radius/dict.ex:220: Radius.Dict.load/1 lib/radius/dict.ex:221: Radius.Dict.load/1
1 parent efeb2f7 commit 6559806

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/radius/dict.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ defmodule Radius.Dict do
217217
|> parse!
218218
|> (&process_dict(ctx, &1)).()
219219
rescue
220-
e in ParserError -> reraise %{e | file: path}, System.stacktrace()
221-
e -> reraise e, System.stacktrace()
220+
e in ParserError -> reraise %{e | file: path}, __STACKTRACE__
221+
e -> reraise e, __STACKTRACE__
222222
after
223223
Logger.flush()
224224
end

0 commit comments

Comments
 (0)