Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on an exception when wrong database password provided #8

Open
ramsestom opened this issue Apr 14, 2020 · 0 comments
Open

crash on an exception when wrong database password provided #8

ramsestom opened this issue Apr 14, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@ramsestom
Copy link

When trying to open a database with wrong password, the app crash on the following exception:

Exception has occurred.
SqfliteDatabaseException (DatabaseException(file is not a database: , while compiling: select count(*) from sqlite_master;))

that happen at the rethrow; at line 110 in factory_mixin.dart

This happen even when sqflite.openDatabase() is called from inside a try block so I guess the error is not correctly handled all the way back to the openDatabase function.

@ramsestom ramsestom added the bug Something isn't working label Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant