Skip to content

Commit

Permalink
ci: add stacktrace to runner exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Oct 4, 2024
1 parent a7937e5 commit d0b3108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def log(level, &block)
runner.load(script, filename)
puts "All OK 👍"
rescue => e
$stderr.puts e.message
$stderr.puts e.message + "\n#{e.backtrace.take(5).join("\n")}"
exit(1)
ensure
runner.shutdown
Expand Down

0 comments on commit d0b3108

Please sign in to comment.