-
Notifications
You must be signed in to change notification settings - Fork 289
Closed
Description
in these places:
rollbar-gem/lib/rollbar/notifier.rb
Lines 148 to 155 in 51b6371
begin report(level, message, exception, extra, context) rescue StandardError, SystemStackError => e report_internal_error(e) 'error' end end rollbar-gem/lib/rollbar/notifier.rb
Lines 236 to 243 in 51b6371
begin process_item(item) rescue => e report_internal_error(e) raise end end rollbar-gem/lib/rollbar/notifier.rb
Lines 411 to 416 in 51b6371
begin item = build_item('error', nil, exception, { :internal => true }, nil) rescue => e send_failsafe('build_item in exception_data', e) return end
When an exception happens while putting together the item, only the error that happened while doing that (e
) is reported. The original error (item
, exception
) is discarded.
What do you think of writing the original error to STDOUT in these cases?
brianr