Sha256: cb2a1fcd97fe3a2fedb4e1cae769acbf55ba1ae2c93cf409df0bed56f3788b4d
Contents?: true
Size: 360 Bytes
Versions: 10
Compression:
Stored size: 360 Bytes
Contents
require 'rake' require 'rake/task' require 'raven/integrations/tasks' module Rake class Application alias orig_display_error_messsage display_error_message def display_error_message(ex) Raven.capture_exception ex, :logger => 'rake', :tags => { 'rake_task' => top_level_tasks.join(' ') } orig_display_error_messsage(ex) end end end
Version data entries
10 entries across 10 versions & 1 rubygems