Skip to content

Commit

Permalink
🐛 Logging bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarlesky committed Jul 10, 2024
1 parent 2f246f1 commit 674c556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ceedling/tasks_release.rake
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ task RELEASE_SYM => [:prepare] do
# Debug backtrace
@ceedling[:loginator].log( "Backtrace ==>", Verbosity::DEBUG )
# Output to console the exception backtrace, formatted like Ruby does it
loginator.log( "#{ex.backtrace.first}: #{ex.message} (#{ex.class})", Verbosity::DEBUG )
loginator.log( ex.backtrace.drop(1).map{|s| "\t#{s}"}.join("\n"), Verbosity::DEBUG )
ceedling[:loginator].log( "#{ex.backtrace.first}: #{ex.message} (#{ex.class})", Verbosity::DEBUG )
ceedling[:loginator].log( ex.backtrace.drop(1).map{|s| "\t#{s}"}.join("\n"), Verbosity::DEBUG )
ensure
@ceedling[:plugin_manager].post_release
end
Expand Down

0 comments on commit 674c556

Please sign in to comment.