Skip to content

crash on an exception when wrong database password provided #8

@ramsestom

Description

@ramsestom

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions