-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
Hi,
the set function, as it is currently implemented, simply gulps down all exceptions:
function set (key, value) {
try {
ls.setItem(key, JSON.stringify(value));
return true;
} catch (e) {
return false;
}
}
- the function should either not catch exceptions (breaking change)
- or at least log exceptions to the console.
Actively suppressing exceptions decreases visibility into the fact that errors are happening at all and makes debugging harder.
Cheer,
Metadata
Metadata
Assignees
Labels
No labels