diff --git a/destiny/converter.py b/destiny/converter.py index d18663888e..21cf8c9b3f 100644 --- a/destiny/converter.py +++ b/destiny/converter.py @@ -41,10 +41,10 @@ def save_id(self) -> str: @dataclass class NewsArticles: CurrentPaginationToken: int - NextPaginationToken: int ResultCountThisPage: int NewsArticles: List[NewsArticle] PagerAction: str + NextPaginationToken: Optional[int] = None CategoryFilter: Optional[str] = None @classmethod diff --git a/destiny/destiny.py b/destiny/destiny.py index 15d2239943..286d1ec487 100644 --- a/destiny/destiny.py +++ b/destiny/destiny.py @@ -170,6 +170,9 @@ async def news_checker(self): except Destiny2APIError as e: log.error("Error checking Destiny news sources: %s", e) return + except Exception: + log.exception("Error Checking Destiny news sources") + return if len(news.NewsArticles) < 1: return source = BungieNewsSource(news)