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

Make SQLite pass through VFS exceptions to the caller. #3373

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

kentonv
Copy link
Member

@kentonv kentonv commented Jan 20, 2025

This way, if the VFS throws a JSG error, it can propagate to the application, instead of the application getting a mysterious SQLITE_IOERROR message.

@kentonv kentonv requested review from a team as code owners January 20, 2025 23:07
@kentonv kentonv requested review from npaun and jclee and removed request for Frederik-Baetens January 20, 2025 23:07
This way, if the VFS throws a JSG error, it can propagate to the application, instead of the application getting a mysterious SQLITE_IOERROR message.
@kentonv kentonv force-pushed the kenton/sqlite-vfs-error-passthrough branch from 3688a4b to 69e076b Compare January 20, 2025 23:30
@kentonv
Copy link
Member Author

kentonv commented Jan 20, 2025

(Had originally assigned @Frederik-Baetens to code review because I misremembered who I had recently been discussing this issue with, it was actually @jclee, so I changed it -- but will accept stamps from anyone)

@kentonv kentonv merged commit 5753c2b into main Jan 21, 2025
17 checks passed
@kentonv kentonv deleted the kenton/sqlite-vfs-error-passthrough branch January 21, 2025 16:28
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

Successfully merging this pull request may close these issues.

None yet

3 participants