Class: Rake::Application
- Inherits:
-
Object
- Object
- Rake::Application
- Defined in:
- lib/nadir/plugins/rake.rb
Instance Method Summary collapse
Instance Method Details
#display_error_message(exception) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/nadir/plugins/rake.rb', line 5 def (exception) begin location = "rake #{top_level_tasks.join(' ')}" Nadir.notify exception, location: location Nadir::Transport::HTTPAsync.shut_down rescue => e Nadir.logger.error "[Nadir] Internal error: #{e.inspect}" end exception end |
#orig_display_error_message ⇒ Object
3 |
# File 'lib/nadir/plugins/rake.rb', line 3 alias_method :orig_display_error_message, :display_error_message |