Skip to content

Commit

Permalink
chore: credo
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Apr 6, 2023
1 parent a20ee0a commit f104e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ash/error/error.ex
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ defmodule Ash.Error do
%{error | stacktrace: stacktrace || error.stacktrace || fake_stacktrace()}
end

defp fake_stacktrace() do
defp fake_stacktrace do
{:current_stacktrace, stacktrace} = Process.info(self(), :current_stacktrace)
%Stacktrace{stacktrace: Enum.drop(stacktrace, 2)}
end
Expand Down

0 comments on commit f104e15

Please sign in to comment.