Skip to content

Commit

Permalink
dont silently ignore error
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Zhou committed Apr 2, 2024
1 parent cc64d29 commit 7fa22b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions versioner.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ async function findOnCodeartifactByPrefix(domainName, format, packageName, repos
// Temporary solution to catch if the package does not yet exist on code artifact.
if (e.code === "ResourceNotFoundException") {
return null
} else {
throw e
}
}
} while (nextToken !== undefined);
Expand Down

0 comments on commit 7fa22b2

Please sign in to comment.