Module: Debrew::Raise

Defined in:
brew/Library/Homebrew/debrew.rb

Instance Method Summary collapse

Instance Method Details

#raiseObject Also known as: fail



12
13
14
15
16
17
# File 'brew/Library/Homebrew/debrew.rb', line 12

def raise(*)
  super
rescue Exception => e # rubocop:disable Lint/RescueException
  e.extend(Ignorable)
  super(e) unless Debrew.debug(e) == :ignore
end