mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
exec() inside _rows_from_code() only caught SyntaxError, so any runtime exception raised by user code (ValueError, NameError, etc.) propagated as an unhandled exception with no output to the user. Now catches Exception so all errors produce a clean "Error in --code:" message consistent with the existing SyntaxError handling. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| cli.py | ||
| db.py | ||
| hookspecs.py | ||
| migrations.py | ||
| plugins.py | ||
| py.typed | ||
| recipes.py | ||
| utils.py | ||