Permalink
Browse files

rescue in Deployer#deploy was preventing Kumade::DeploymentError from…

… propagating to CLI for output rendering
  • Loading branch information...
1 parent 26b6722 commit 6745cafd585c37a04b3d897cc655d8d974514747 @bryan-ash bryan-ash committed with Gabe Berke-Williams Oct 14, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/kumade/deployer.rb
View
@@ -18,6 +18,8 @@ def deploy
pre_deploy
heroku.sync
heroku.migrate_database
+ rescue Kumade::DeploymentError
+ raise
rescue => deploying_error
Kumade.configuration.outputter.error("#{deploying_error.class}: #{deploying_error.message}")
ensure

0 comments on commit 6745caf

Please sign in to comment.