Skip to content

Commit

Permalink
Continue publishing even if tweet fails to send (#5693)
Browse files Browse the repository at this point in the history
  • Loading branch information
joehan committed Apr 14, 2023
1 parent de50243 commit cfad0cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/tweet.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ client.post(
{ status: `v${version} of @Firebase CLI is available. Release notes: ${getUrl(version)}` },
(err) => {
if (err) {
console.error(err);
process.exit(1);
console.error(`Failed to make a tweet for firebase-tools@${version}: ${err}`);
}
}
);

0 comments on commit cfad0cc

Please sign in to comment.