Skip to content

Commit

Permalink
dont fail when deleting service
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Oct 30, 2015
1 parent 1d56e80 commit 9edf3c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/cmd/formation/handler/sns.go
Expand Up @@ -67,7 +67,8 @@ func SNSSubscriptionDelete(req Request) (string, map[string]string, error) {
resp, err := SNS(req).ListSubscriptionsByTopic(params)

if err != nil {
return req.PhysicalResourceId, nil, err
fmt.Printf("error: %s\n", err)
return req.PhysicalResourceId, nil, nil
}

for _, s := range resp.Subscriptions {
Expand Down

0 comments on commit 9edf3c9

Please sign in to comment.