Skip to content

Commit

Permalink
chore: fix error logging in twitter notif sink
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmbl committed May 31, 2024
1 parent 938fbc7 commit 80fadbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/twitter-notifications-sink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class TwitterNotificationsSink
.tweet({
text: shortenedText,
})
.catch(() => this.logger.error(it)));
.catch((e) => this.logger.error(e)));
return;
}
}

0 comments on commit 80fadbc

Please sign in to comment.