From 7dea34b00a65ae115ab26e015d60f0b814cd7179 Mon Sep 17 00:00:00 2001 From: Andre Arko Date: Thu, 17 Feb 2011 15:32:34 -0800 Subject: Ask users who witness uncaught exceptions to report to github issues --- bin/bundle | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin') 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 -- cgit v1.2.1