You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We want to resolve init since we have cached flags
this.getFlags();
It doesn't cause any real issues as flags are still resolved correctly from local storage, and since the user is likely offline when this happens, it may not affect our telemetry. However, since it's not an error that can be caught in user land, perhaps it'd make more sense to handle the rejection and only reject from init() if the cache fails.
Please let me know if you need more details, thank you!
The text was updated successfully, but these errors were encountered:
Hi there 👋 I'm seeing an uncaught rejection when calling
Flagsmith.init
while offline.It seems to be coming from this call:
flagsmith-js-client/flagsmith-core.ts
Lines 447 to 449 in f2c2964
It doesn't cause any real issues as flags are still resolved correctly from local storage, and since the user is likely offline when this happens, it may not affect our telemetry. However, since it's not an error that can be caught in user land, perhaps it'd make more sense to handle the rejection and only reject from
init()
if the cache fails.Please let me know if you need more details, thank you!
The text was updated successfully, but these errors were encountered: