Skip to content
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

Paywalls: improve error log when images fail to load #1454

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

NachoSoto
Copy link
Contributor

Without this, the error we were logging didn't have any information:

RevenueCatUI E Error loading image from 'https://assets.pawwalls.com/....jpg[':](https://assets.pawwalls.com/....jpg':) coil.request.ErrorResult@2678e133

@NachoSoto NachoSoto requested a review from a team November 9, 2023 19:45
@NachoSoto NachoSoto force-pushed the paywalls-improve-image-loading-error-log branch from 7862ada to a83afd5 Compare November 9, 2023 19:47
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (27d7eb8) 83.95% compared to head (a83afd5) 83.95%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1454   +/-   ##
=======================================
  Coverage   83.95%   83.95%           
=======================================
  Files         203      203           
  Lines        6712     6712           
  Branches      974      974           
=======================================
  Hits         5635     5635           
  Misses        697      697           
  Partials      380      380           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@tonidero tonidero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! Definitely helpful

@NachoSoto NachoSoto merged commit e2dba78 into main Nov 9, 2023
@NachoSoto NachoSoto deleted the paywalls-improve-image-loading-error-log branch November 9, 2023 21:22
tonidero pushed a commit that referenced this pull request Nov 10, 2023
**This is an automatic release.**

### RevenueCatUI
* `Paywalls`: improve error log when images fail to load (#1454) via
NachoSoto (@NachoSoto)
### Other Changes
* Paywall events: Send paywall data with post receipt requests (#1452)
via Toni Rico (@tonidero)
* Paywalls: Track paywall events (#1447) via Toni Rico (@tonidero)
* Paywall events: Handle errors parsing specific paywall event lines
(#1451) via Toni Rico (@tonidero)
* Paywalls: Move logic for events file helper to common generic class
(4) (#1446) via Toni Rico (@tonidero)
* Paywalls: Add paywall events flush logic and tests (3) (#1445) via
Toni Rico (@tonidero)
* Paywalls: Support sending paywall events to servers (2) (#1442) via
Toni Rico (@tonidero)
* `CircleCI`: fix `record-revenuecatui-snapshots` (#1455) via NachoSoto
(@NachoSoto)
* Lower request jitter log level from warning to debug (#1453) via Toni
Rico (@tonidero)

Co-authored-by: revenuecat-ops <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants