Archived
1
0
Fork 0

Bugfix tweet error log

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2021-02-11 14:59:49 +01:00
parent 91c5d07ef2
commit e424b3bf98
No known key found for this signature in database
GPG key ID: FF42D23B580C89F7

View file

@ -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):