module Bundler::FriendlyErrors

def exception_message(error)

def exception_message(error)
  message = serialized_exception_for(error)
  cause = error.cause
  return message unless cause
  message + serialized_exception_for(cause)
end