Skip to content

Commit 01d4064

Browse files
committed
Add System stacktrace to exception details output
1 parent 0a1c261 commit 01d4064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/engine_credo/cli.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ defmodule EngineCredo.CLI do
1717
rescue
1818
error ->
1919
# credo:disable-for-next-line Credo.Check.Warning.IoInspect
20-
IO.puts(:stderr, Exception.format(:error, error))
20+
IO.puts(:stderr, Exception.format(:error, error, System.stacktrace()))
2121
System.halt(1)
2222
end
2323
end

0 commit comments

Comments
 (0)