Bugfix tweet error log
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
91c5d07ef2
commit
e424b3bf98
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class TwitterNotifier(object):
|
||||||
logger.info(f'tweet {tweet.id} sent with message "{message}"')
|
logger.info(f'tweet {tweet.id} sent with message "{message}"')
|
||||||
return tweet
|
return tweet
|
||||||
except tweepy.error.TweepError as err:
|
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))
|
logger.warning(str(err))
|
||||||
|
|
||||||
def _parse_hashtags(self, product):
|
def _parse_hashtags(self, product):
|
||||||
|
|
Reference in a new issue