fix(rivetkit): surface native sqlite kv errors to callers#4645
fix(rivetkit): surface native sqlite kv errors to callers#4645NathanFlurry wants to merge 1 commit intofix/prevent-sleep-db-racesfrom
Conversation
PR Review: fix(rivetkit): surface native sqlite kv errors to callersThe overall approach is solid - enriching I/O-level errors with KV context while leaving application-level SQLite errors (schema, constraint, etc.) untouched is the right design. Potential issue: exec error path variable assignment In the wrapped Concern: Mutating the caught error object The code does Missing test coverage for exec and query The two tests only exercise Minor: takeLastKvError placement in the interface The method was inserted between Minor: Regex coverage The regex covers Overall this is a clean, well-scoped diagnostic improvement. Main actionable items: expand test coverage to |
7825238 to
f6957bf
Compare
c3091c0 to
bb11c47
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: