# File lib/bundler/friendly_errors.rb, line 126
  def self.with_friendly_errors
    yield
  rescue SignalException
    raise
  rescue Exception => e
    FriendlyErrors.log_error(e)
    exit FriendlyErrors.exit_status(e)
  end