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
# File 'lib/raven/integrations/rake.rb', line 8

def display_error_message(ex)
  Raven.capture_exception ex, :logger => 'rake', :tags => { 'rake_task' => @name }
  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