By default you will not get any tracebacks in user-defined functions, aggregates, converters, authorizer callbacks etc. If you want to debug them, you can call this function with flag set to True. Afterwards, you will get tracebacks from callbacks on sys.stderr. Use False to disable the feature again.
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:
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 stderr, so the maintainers of sqlite3 reasonably decided that people should be able to opt in to that rather than having weird stuff show up on stderr that they weren't expecting.