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

Lower request jitter log level from warning to debug #1453

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

tonidero
Copy link
Contributor

@tonidero tonidero commented Nov 9, 2023

Description

These logs were added in #1204. These logs might happen primarily if the developer calls getCustomerInfo/getOfferings before any activity has started. In those situations, we have to handle it so the request does not wait for the whole jitter.

There is nothing much the developer can do about this and it's not actually an error, so lowering the log level from warning to debug for these.

Fixes RevenueCat/react-native-purchases#757

@tonidero tonidero marked this pull request as ready for review November 9, 2023 17:20
@tonidero tonidero requested a review from a team November 9, 2023 17:20
Copy link
Contributor

@NachoSoto NachoSoto left a comment

Choose a reason for hiding this comment

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

🙏🏻

@tonidero tonidero enabled auto-merge (squash) November 9, 2023 17:22
@tonidero tonidero merged commit 27d7eb8 into main Nov 9, 2023
@tonidero tonidero deleted the lower-logs-level-request-jitter branch November 9, 2023 17:38
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]>
Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.95%. Comparing base (16e69d3) to head (1af6114).
Report is 308 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1453   +/-   ##
=======================================
  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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request already scheduled with jitter delay Error
3 participants