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

Exception During Initialization Crashes App #51

Open
ntavendale opened this issue Aug 15, 2024 · 0 comments
Open

Exception During Initialization Crashes App #51

ntavendale opened this issue Aug 15, 2024 · 0 comments

Comments

@ntavendale
Copy link

System.Data.SQLite.SQLiteException : database disk image is malformed

This exception can occur if app was previously killed in the middle of a database write.

If this occurs when InitializeDatabase call made, application will crash. My App has a file sink and an sqlite sink. Would like it to keep going if sqllite sink can't be initialized and still write to file sink.

Have put up pull request to back up file and create new one if this occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant