Method: Bundler::UI::Shell#trace

Defined in:
lib/bundler/ui/shell.rb

#trace(e, newline = nil, force = false) ⇒ Object



112
113
114
115
116
# File 'lib/bundler/ui/shell.rb', line 112

def trace(e, newline = nil, force = false)
  return unless debug? || force
  msg = "#{e.class}: #{e.message}\n#{e.backtrace.join("\n  ")}"
  tell_err(msg, nil, newline)
end