aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/flake/config.cc
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-12-17 14:50:43 +0100
committerRobert Hensing <robert@roberthensing.nl>2022-12-17 14:51:37 +0100
commitc965f35de71cc9d88f912f6b90fd7213601e6eb8 (patch)
tree78a578dcdbcf4dbc1790a80fcd5a76f7f44ab455 /src/libexpr/flake/config.cc
parent26c7602c390f8c511f326785b570918b2f468892 (diff)
Improve sqlite error messages
They did not include the detailed error message, losing essential information for troubleshooting. Example message: warning: creating statement 'insert or rplace into NARs(cache, hashPart, namePart, url, compression, fileHash, fileSize, narHash, narSize, refs, deriver, sigs, ca, timestamp, present) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 1)': at offset 10: SQL logic error, near "rplace": syntax error (in '/tmp/nix-shell.grQ6f7/nix-test/tests/binary-cache/test-home/.cache/nix/binary-cache-v6.sqlite') It's not the best example; more important information will be in the message for e.g. a constraint violation. I don't see why this specific error is printed as a warning, but that's for another commit.
Diffstat (limited to 'src/libexpr/flake/config.cc')
0 files changed, 0 insertions, 0 deletions