Logging: clarify saveState log
This commit is contained in:
parent
dc3c1985b5
commit
e873ffc994
|
@ -18,7 +18,7 @@ export const saveState = (state: Object) => {
|
|||
const serializedState = JSON.stringify(state);
|
||||
localStorage.setItem(REDUX_STATE, serializedState);
|
||||
} catch (err) {
|
||||
console.warn(' Warning: corrupted local storage');
|
||||
console.warn(' Warning: failed to set to local storage', state);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue