popcode icon indicating copy to clipboard operation
popcode copied to clipboard

Degrade gracefully if local storage isn’t available

Open outoftime opened this issue 7 years ago • 0 comments

Currently the rehydrateProject() function throws an error if localStorage is null. Given that Popcode’s core functionality does not rely on localStorage, we should fall back gracefully to a noop for the project grace period feature.


Error in Popcode

TypeError in / Cannot read property 'getItem' of null

View on Bugsnag

Stacktrace

webpack:///src/clients/localStorage.js:12 - W5mC.t.b

View full stacktrace

Created by Matthew Brown via Bugsnag

outoftime avatar Mar 04 '18 19:03 outoftime