-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
Error logging callback #272
Comments
Any errors that occur will be propagated back to you as JavaScript exceptions. If you want to log an error, use a try-catch statement. |
Actually I just wanted to catch SQLITE_NOTICE because rollback may take a long time and I need to ask users to wait. |
This comment has been minimized.
This comment has been minimized.
+1 on this one, because of desire for a simple, one-line, foolproof catch-all for logging. Thanks for creating/maintaining this package! |
Another practical reason to support this is because this can be used to identify cases where SQLite is creating and using temporary automatic indexes |
happy to submit a PR if I could get high level pointers to guide me! |
Please implement adding error logging callback as described in https://sqlite.org/errlog.html.
The text was updated successfully, but these errors were encountered: