Sha256: 0da84ed42b19c8d6b40c67ad554de2ec2aa51eb148cbd0fc7df881409b9b976f
Contents?: true
Size: 464 Bytes
Versions: 10
Compression:
Stored size: 464 Bytes
Contents
module Rake class Application alias_method :orig_display_error_message, :display_error_message def display_error_message(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 orig_display_error_message exception end end end
Version data entries
10 entries across 10 versions & 1 rubygems