Class: Rake::Application
Instance Method Summary collapse
Instance Method Details
#display_error_message(ex) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/sentry/rake.rb', line 7 def (ex) Sentry.capture_exception(ex, hint: { background: false }) do |scope| task_name = top_level_tasks.join(' ') scope.set_transaction_name(task_name) scope.set_tag("rake_task", task_name) end if Sentry.initialized? orig_display_error_messsage(ex) end |
#orig_display_error_messsage ⇒ Object
6 |
# File 'lib/sentry/rake.rb', line 6 alias orig_display_error_messsage |