Move from System.stacktrace to __STACKTRACE__

This commit is contained in:
Shashwat Ganesh
2020-06-04 22:52:32 +05:30
parent 74532749a3
commit 8e8efd8def
2 changed files with 6 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ defmodule Koans do
unquote(compiled_body)
:ok
rescue
e -> e
e -> {:error, __STACKTRACE__, e}
end
end
end
@@ -39,7 +39,7 @@ defmodule Koans do
unquote(single_var)
:ok
rescue
e -> e
e -> {:error, __STACKTRACE__, e}
end
end
end
@@ -57,7 +57,7 @@ defmodule Koans do
unquote(multi_var)
:ok
rescue
e -> e
e -> {:error, __STACKTRACE__, e}
end
end
end