Hi,
Is it possible that reading a local stored value fails in this example ?
At install time, I am setting value in "somekey".
await chrome.storage.local.set({somekey: 'value'});
Then I use this value by getting it this way
let data = await chrome.storage.local.get(['somekey']);
data.somekey is sometimes undefined but I am pretty sure there is a value.
I did use try..catch around the get but nothing is thrown.
Is there a safer way to read this value?
Thank you,
Jean