Skip to content

Commit 549fcbd

Browse files
committed
Fix not found exception
1 parent f2a6fa3 commit 549fcbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/amplify-preview/amplify.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (amp *AmplifyPreview) FindExistingBranch(ctx context.Context, branchName st
7272
}
7373

7474
for resp := range resultCh {
75-
var errNotFound *types.ResourceNotFoundException
75+
var errNotFound *types.NotFoundException
7676
if errors.As(resp.err, &errNotFound) {
7777
logger.Debug("Branch not found", logKeyAppID, resp.appID, logKeyBranchName, branchName)
7878
continue

0 commit comments

Comments
 (0)