summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/bundle5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/bundle b/bin/bundle
index 778c79c36c..c1c9cdef1e 100755
--- a/bin/bundle
+++ b/bin/bundle
@@ -19,4 +19,9 @@ rescue Interrupt => e
Bundler.ui.error "\nQuitting..."
Bundler.ui.debug e.backtrace.join("\n")
exit 1
+rescue Exception => e
+ Bundler.ui.error "Unfortunately, a fatal error has occurred. " +
+ "Please report this error to the Bundler issue tracker at " +
+ "https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!"
+ raise e
end