Class: Rake::Application

Inherits:
Object
  • Object
show all
Defined in:
lib/raven/integrations/rake.rb

Instance Method Summary collapse

Instance Method Details

#display_error_message(ex) ⇒ Object



8
9
10
11
12
13
14
15
16
# File 'lib/raven/integrations/rake.rb', line 8

def display_error_message(ex)
  Raven.capture_exception(
    ex,
    :transaction => top_level_tasks.join(' '),
    :logger => 'rake',
    :tags => { 'rake_task' => top_level_tasks.join(' ') }
  )
  orig_display_error_messsage(ex)
end

#orig_display_error_messsageObject



7
# File 'lib/raven/integrations/rake.rb', line 7

alias orig_display_error_messsage display_error_message