From 5656dacff624563f733688e823ee3ed52c4aecfa Mon Sep 17 00:00:00 2001 From: Henrique Joaquim Date: Wed, 8 Mar 2023 12:08:59 +0000 Subject: [PATCH] Fix ff breaking terminal (#4431) --- openbb_terminal/helper_funcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbb_terminal/helper_funcs.py b/openbb_terminal/helper_funcs.py index 9d7a0ae8be8..a14ff2d2faf 100644 --- a/openbb_terminal/helper_funcs.py +++ b/openbb_terminal/helper_funcs.py @@ -1975,7 +1975,7 @@ def update_news_from_tweet_to_be_displayed() -> str: url = f"https://twitter.com/x/status/{last_tweet.id_str}" # In case the handle provided doesn't exist, we skip it - except tweepy.errors.NotFound: + except (tweepy.errors.NotFound, tweepy.errors.Unauthorized): pass if last_tweet_dt and news_tweet_to_use: