Skip to content

Commit cfad0cc

Browse files
authored
Continue publishing even if tweet fails to send (#5693)
1 parent de50243 commit cfad0cc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/tweet.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ client.post(
4545
{ status: `v${version} of @Firebase CLI is available. Release notes: ${getUrl(version)}` },
4646
(err) => {
4747
if (err) {
48-
console.error(err);
49-
process.exit(1);
48+
console.error(`Failed to make a tweet for firebase-tools@${version}: ${err}`);
5049
}
5150
}
5251
);

0 commit comments

Comments
 (0)