module Honeybadger::Thor
Constants
- VERSION
Public Class Methods
included(base)
click to toggle source
# File lib/honeybadger/thor.rb, line 7 def self.included(base) base.class_eval do no_commands do alias_method :invoke_command_without_honeybadger, :invoke_command alias_method :invoke_command, :invoke_command_with_honeybadger end end end
Public Instance Methods
invoke_command_with_honeybadger(*args)
click to toggle source
# File lib/honeybadger/thor.rb, line 16 def invoke_command_with_honeybadger(*args) invoke_command_without_honeybadger(*args) rescue Exception => e Honeybadger.notify_or_ignore(e) raise end