seriouslysean / monster-hunter-now-events

A tool that auto-generates calendar events for Monster Hunter Now by scraping web news articles, processing them with AI, and creating a convenient calendar subscription.
https://seriouslysean.github.io/monster-hunter-now-events/
MIT License
8 stars 9 forks source link

[Feature]: Add rollbar for error handling and tracking #6

Closed seriouslysean closed 9 months ago

seriouslysean commented 9 months ago

This doesn't need to be a full refactor of the JS error logging or anything like that. The intention is to get this implemented to then rethink how errors are thrown and the best way to do it.

For this initial implementation, logging one known error would be totally fine.

Probably in the getArticles function if we're unable to download an html file from the MHN website, https://github.com/seriouslysean/monster-hunter-now-events/blob/main/src/utils/article-utils.js#L80.