Exception: Hatchet::App::FailedDeploy

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hatchet/app.rb

Instance Method Summary collapse

Constructor Details

#initialize(app, output) ⇒ FailedDeploy

Returns a new instance of FailedDeploy.



13
14
15
16
17
18
19
# File 'lib/hatchet/app.rb', line 13

def initialize(app, output)
  msg = "Could not deploy '#{app.name}' (#{app.repo_name}) using '#{app.class}' at path: '#{app.directory}'\n" <<
        " if this was expected add `allow_failure: true` to your deploy hash.\n" <<
        "output:\n" <<
        "#{output}"
  super(msg)
end