Add better onerror handling.
Author: fungairinoCreated Oct 2, 2024Updated Dec 16, 2024
It seems like in cases where there is no error on the transaction, a generic AbortError is thrown. However if you inspect the error argument (which is not used) you can actually see the real error that was encountered. This is applicable to the "DataError: Failed to read large IndexedDB value" error
The expectation would be that we should see the real cause, and not swallow it.
Source: jakearchibald/idb