Module: ExceptionNotifier::RakePatch
- Defined in:
- lib/exception_notifier/rake/rake_patch.rb
Instance Method Summary collapse
Instance Method Details
#display_error_message(ex) ⇒ Object
5 6 7 8 9 |
# File 'lib/exception_notifier/rake/rake_patch.rb', line 5 def (ex) super(ex) ExceptionNotifier::Rake.maybe_deliver_notification(ex, :rake_command_line => reconstruct_command_line) end |
#reconstruct_command_line ⇒ Object
11 12 13 |
# File 'lib/exception_notifier/rake/rake_patch.rb', line 11 def reconstruct_command_line "rake #{ARGV.join(' ')}" end |