Closed zulkarnainshah closed 1 year ago
@lesnitsky If you keep the All Exceptions breakpoint checked in debugger, you will see the error. Attaching screenshot of the error when caught at runtime. The passed value selectedDateFilter.value is a string in the screenshot.
All exceptions
shows even properly handled ones, this is the case, see here
So are we doing anything wrong? Is there a way to fix?
There's nothing wrong in throwing an exception and handling it in catch
. The string you're trying to save is actually there and you should be able to read it back with getItem
Can't reproduce, the code below works as expected