Skip to content

Commit

Permalink
fix: don't show traceback when imdb info is not found
Browse files Browse the repository at this point in the history
Signed-off-by: miigotu <[email protected]>
  • Loading branch information
miigotu committed Feb 1, 2024
1 parent f51bc81 commit 6c6caef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sickchill/tv.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,8 @@ def load_imdb_info(self):

logger.debug(f"{self.indexerid}: Obtained info from IMDb ->{self.imdb_info}")
except (TypeError, ValueError, LookupError, OperationalError, imdb.IMDbError, NewConnectionError, MaxRetryError) as error:
logger.info(f"Could not get IMDB info: {error}")
logger.info(f"Could not get IMDB info: see debug logs for details")
logger.debug(f"IMDB traceback: {error}")
except (SyntaxError, KeyError):
logger.info("Could not get info from IDMb, pip install lxml")

Expand Down

0 comments on commit 6c6caef

Please sign in to comment.