Skip to content

Commit

Permalink
Merge pull request #150 from candlerb/candlerb/deletestack
Browse files Browse the repository at this point in the history
Fix hidden exception when problem occurs during delete stack
  • Loading branch information
Jorge Bastida committed Dec 14, 2017
2 parents 134ac11 + 176e4bc commit e219265
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gordon/utils.py
Expand Up @@ -418,6 +418,7 @@ def delete_cf_stack(name, dry_run=True):
if e.response['Error']['Code'] == 'ValidationError':
puts(colored.red("Stack '{}' not found.".format(name)))
return
raise

for resource in stack['StackResources']:
puts(colored.red("{} {}".format(resource['ResourceType'], resource.get('PhysicalResourceId', ''))))
Expand Down

0 comments on commit e219265

Please sign in to comment.