Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
Better exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Sep 4, 2016
1 parent 617282a commit 56c55d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timber/internal_logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def exception(exception)
raise ArgumentError.new("#exception must take an Exception type")
end
# TODO: notify us that this exception happened
error(exception)
error("#{exception.inspect}: #{exception.backtrace.inspect}")
end
end
end

0 comments on commit 56c55d4

Please sign in to comment.