Skip to content

Conversation

deanshi
Copy link
Contributor

@deanshi deanshi commented Aug 22, 2025

Work with regards to the Prefare/Bus screens dropping requests

Currently, our Sentry logging logs exceptions thrown and exiting the no data state when parsing an API response. For whatever reason, Sentry seems to not be reporting all of what should be caught errors from network problems.

This adds a bit of additional logging for checking the other non-success responses, assuming failures will still be logged as Request failed and success will just pass through regularly.

My thought here is that if Sentry isn't catching errors, it must be going through properly. If the request isn't just outright failing, then it must be going through the success flow, in which case these new logs should catch it.

Maybe this should be deployed from this branch and only be temporarily run for an hour or so to collect some logs?

- Currently, our Sentry logging logs exceptions thrown and Exiting the
  no data state when parsing an API response. For whatever reason,
  Sentry seems to not be reporting all of what should be caught errors
  from network problems.
- This adds a bit of additional logging for checking the other
  non-success responses, assuming failures will still be logged as
  Request failed and success will just pass through regularly
@deanshi deanshi closed this Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant