Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
stop asking for tickets on non-Bundler errors
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed Nov 30, 2011
1 parent 95dc86b commit af40019
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/bundle
Expand Up @@ -21,7 +21,11 @@ rescue Interrupt => e
exit 1
rescue SystemExit => e
exit e.status
rescue LoadError, Gem::InstallError, Gem::Installer::ExtensionBuildError => e
# known errors, something went wrong outside Bundler
raise e
rescue Exception => e
# unknown errors, hopefully we can fix them
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!"
Expand Down

0 comments on commit af40019

Please sign in to comment.