-
-
Notifications
You must be signed in to change notification settings - Fork 701
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
Consider using enable_callback_tracebacks(True) #891
Comments
peter-wangxu/persist-queue#74 warns that this might not work with PyPy. I could solve that with: if hasattr(sqlite3, "enable_callback_tracebacks"):
sqlite3.enable_callback_tracebacks(True) |
I've been trying to figure out why this is an optional setting that defaults to off. I think it's because it writes directly to |
Here's the commit (from 15 years ago) where
|
I'm going to turn this on. If people complain about it I can turn it off again (or make it a configuration setting). |
Here's what that looks like:
|
From https://docs.python.org/3/library/sqlite3.html#sqlite3.enable_callback_tracebacks
Maybe turn this on for all of Datasette? Are there any disadvantages to doing that?
The text was updated successfully, but these errors were encountered: