From e424b3bf98fb9423114d3109f00953101a5680a2 Mon Sep 17 00:00:00 2001 From: Julien Riou Date: Thu, 11 Feb 2021 14:59:49 +0100 Subject: [PATCH] Bugfix tweet error log Signed-off-by: Julien Riou --- notifiers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifiers.py b/notifiers.py index c61622e..f6246bd 100644 --- a/notifiers.py +++ b/notifiers.py @@ -49,7 +49,7 @@ class TwitterNotifier(object): logger.info(f'tweet {tweet.id} sent with message "{message}"') return tweet except tweepy.error.TweepError as err: - logger.warning('cannot send tweet with message "{message}"') + logger.warning(f'cannot send tweet with message "{message}"') logger.warning(str(err)) def _parse_hashtags(self, product):