Skip to content

Commit

Permalink
Stop job if some errors occur
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunoneill-r7 committed Jul 12, 2023
1 parent af70253 commit 74402aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const start = async () => {
} else {
if (!publicIpAddress) {
console.log('Unable to get public IP address.', publicIpAddress);
throw new Error('Stopping job.')
}
console.log(`Public IP Address: ${publicIpAddress.ip}`);
}
Expand Down

0 comments on commit 74402aa

Please sign in to comment.