diff options
author | Andre Arko <andre@arko.net> | 2010-11-13 16:13:38 -0600 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2010-11-13 16:41:43 -0600 |
commit | 96443142de4ba1188353bf782c3b57bf1fd3e1c5 (patch) | |
tree | 0f97aaf5d0919e1cff4b7c5fcdf6a6c5745dfbf9 /bin | |
parent | ed3fabed576347f285f3c6879625a626114c3a44 (diff) | |
download | bundler-96443142de4ba1188353bf782c3b57bf1fd3e1c5.tar.gz |
Print the backtrace on interrupts in debug mode
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bundle | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/bundle b/bin/bundle index 6efdf51dd7..778c79c36c 100755 --- a/bin/bundle +++ b/bin/bundle @@ -15,7 +15,8 @@ rescue Bundler::BundlerError => e Bundler.ui.error e.message Bundler.ui.debug e.backtrace.join("\n") exit e.status_code -rescue Interrupt +rescue Interrupt => e Bundler.ui.error "\nQuitting..." + Bundler.ui.debug e.backtrace.join("\n") exit 1 end |