-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve handling of Rite Aid API errors #537
Comments
Looks like the call to univaf/loader/src/exceptions.js Lines 15 to 28 in 90b6441
…So maybe |
We should probably also be re-using this error class in the Rite Aid API. |
Today we logged an API error from Rite Aid, but the error message was just “200 OK,” which is not very helpful: https://sentry.io/organizations/usdr/issues/2940100159
Luckily, more info was buried in the
details
object, which still go surfaced on Sentry:The
RiteAidXhrError
class should have given us a nicer message, but the message did not get set correctly for some reason.univaf/loader/src/sources/riteaid/scraper.js
Lines 53 to 58 in 90b6441
The text was updated successfully, but these errors were encountered: