Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… propagating to CLI for output rendering
  • Loading branch information...
commit 6745cafd585c37a04b3d897cc655d8d974514747 1 parent 26b6722
Bryan Ash bryan-ash authored gabebw committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/kumade/deployer.rb
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.