aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/ui
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2014-08-25 19:48:55 -0700
committerAndre Arko <andre@arko.net>2014-08-25 19:48:55 -0700
commitd6d63fada2825c1d8cbcd57b0d4fdca199b39aa2 (patch)
treeeddb9aac210fca025500cdd3046ae25f42bf108b /lib/bundler/ui
parent13e860a4f2e687e5e9f26c233d84097712981aaa (diff)
downloadbundler-d6d63fada2825c1d8cbcd57b0d4fdca199b39aa2.tar.gz
indent errors in verbose mode per tradition
Diffstat (limited to 'lib/bundler/ui')
-rw-r--r--lib/bundler/ui/shell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/ui/shell.rb b/lib/bundler/ui/shell.rb
index c7054e4e..6299c5e9 100644
--- a/lib/bundler/ui/shell.rb
+++ b/lib/bundler/ui/shell.rb
@@ -57,7 +57,7 @@ module Bundler
def trace(e, newline = nil)
return unless debug?
- msg = ["#{e.class}: #{e.message}", *e.backtrace].join("\n")
+ msg = "#{e.class}: #{e.message}\n#{e.backtrace.join("\n ")}"
tell_me(msg, nil, newline)
end