diff options
author | Andre Arko <andre@arko.net> | 2011-02-17 15:32:34 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2011-03-02 12:45:11 -0800 |
commit | 7dea34b00a65ae115ab26e015d60f0b814cd7179 (patch) | |
tree | 88c9e7d58624c11c587dad4feb578a121030efc7 /bin | |
parent | 95f9b5f40134f0224e4e2df6ada1d3fa48ef3500 (diff) | |
download | bundler-7dea34b00a65ae115ab26e015d60f0b814cd7179.tar.gz |
Ask users who witness uncaught exceptions to report to github issues
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bundle | 5 |
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 |