summaryrefslogtreecommitdiff
path: root/lib/bundler/retry.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-10-02 23:26:50 -0700
committerAndre Arko <andre@arko.net>2013-10-03 16:37:54 -0700
commit173e546d31f55b5882d6a9c74ecb20f596300c5e (patch)
tree1cda80324a7fdd1a7fe0186fb3fff2aaaedf7349 /lib/bundler/retry.rb
parent60bdd03973ba55544575809dc8d89a25e470b54a (diff)
downloadbundler-173e546d31f55b5882d6a9c74ecb20f596300c5e.tar.gz
print the error class as well as the message
Diffstat (limited to 'lib/bundler/retry.rb')
-rw-r--r--lib/bundler/retry.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/retry.rb b/lib/bundler/retry.rb
index 3b0e2e8041..ddcdb2b165 100644
--- a/lib/bundler/retry.rb
+++ b/lib/bundler/retry.rb
@@ -44,7 +44,7 @@ module Bundler
@failed = true
raise e if last_attempt? || @exceptions.any?{|k| k === e }
return true unless name
- Bundler.ui.warn "Retrying#{" #{name}" if name} due to error (#{current_run.next}/#{total_runs}): #{e.message}"
+ Bundler.ui.warn "Retrying#{" #{name}" if name} due to error (#{current_run.next}/#{total_runs}): #{e.class} #{e.message}"
end
def keep_trying?