flagsmith-js-client icon indicating copy to clipboard operation
flagsmith-js-client copied to clipboard

onError not called if cacheFlags is true and api is not reachable

Open kyle-ssg opened this issue 1 month ago • 2 comments

Reported by customer, needs investigating

As a note: if this is an issue and we fix it, we should treat this as a breaking change.

kyle-ssg avatar Oct 24 '25 13:10 kyle-ssg

@kyle-ssg this sounds very similar to this - is it a duplicate?

matthewelwell avatar Oct 24 '25 13:10 matthewelwell

No, this is more that an onError doesn't get called and silently uses cache when caching is enabled.

kyle-ssg avatar Oct 24 '25 13:10 kyle-ssg