I'm receiving the following error when adding an image that exceeds the quota:
Uncaught (in promise) DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of '__LSM__' exceeded the quota.
Is there a way to catch that error and do something with it? Right now I have a loading indicator that activates on click but the indicator is not deactivating on error because I haven't been able to figure out how to catch it.
I'm receiving the following error when adding an image that exceeds the quota:
Uncaught (in promise) DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of '__LSM__' exceeded the quota.
Is there a way to catch that error and do something with it? Right now I have a loading indicator that activates on click but the indicator is not deactivating on error because I haven't been able to figure out how to catch it.