Skip to content

Commit 80fadbc

Browse files
committed
chore: fix error logging in twitter notif sink
1 parent 938fbc7 commit 80fadbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/twitter-notifications-sink.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class TwitterNotificationsSink
4040
.tweet({
4141
text: shortenedText,
4242
})
43-
.catch(() => this.logger.error(it)));
43+
.catch((e) => this.logger.error(e)));
4444
return;
4545
}
4646
}

0 commit comments

Comments
 (0)