Is it the caller's responsibility or the SDK's responsibility to handle localStorage errors during initialization?
https://github.com/launchdarkly/js-client/blob/39495f9851b83ed743f5b590639f683079e60ba0/src/index.js#L256-L263
I'm wondering if the call to setItem in the catch block could possibility throw an uncaught exception.
My concern comes from the fact that we often see localStorage throw SecurityExceptions in production, especially on mobile, where it is locked when the device is locked or maybe when the user is in incognito/private browsing mode.