Closed Hyla96 closed 1 year ago
Thanks. Do you have any test that can validate what it does and fix? (such as a fake codec that throws en exception). I think this can be reproduced during open, correct?
Thanks. Do you have any test that can validate what it does and fix? (such as a fake codec that throws en exception). I think this can be reproduced during open, correct?
I don't yet, but I'll add it to the pull request by next week
I added more test on codec (and supporting async codec) in the latest 3.4.2 that you might want to try.
This pull request is strictly connected to this one: https://github.com/tekartik/sembast_sqflite/pull/12
Description
We noticed an issue with the exception bubbling when PointyCastle fails to decrypt the DB because of a corrupted password.
What happens with the current implementation is that the exception is not properly bubbled to the calling function and it has to be caught on a much higher level.
This pull request allows to bubble the exception to who calls jdbFullImport() and on, allowing a graceful handling of the exception