Skip to content

Commit

Permalink
Merge pull request #451 from janbiedermann/fix_ex_when_back_nil
Browse files Browse the repository at this point in the history
Fix exception when exception has nil backtrace
  • Loading branch information
hsbt authored Mar 15, 2024
2 parents 1494e38 + d31b1ac commit a05e1f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rake/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def display_exception_details(ex) # :nodoc:
display_exception_details_seen << ex

display_exception_message_details(ex)
display_exception_backtrace(ex)
display_exception_backtrace(ex) if ex.backtrace
display_cause_details(ex.cause) if has_cause?(ex)
end

Expand Down

0 comments on commit a05e1f3

Please sign in to comment.