chiark / gitweb /
updates, errors: Completely revamp error handling
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 30 Jan 2021 00:36:53 +0000 (00:36 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 30 Jan 2021 00:38:29 +0000 (00:38 +0000)
commit8a86b9ea7ef25c87c8450f7ec5036e26b6e763dd
tree7e51a688e745c4b1d5692c5f14045ff412bde4d7
parentdd04910cf9ce68729172c60aa57589623af3bbfb
updates, errors: Completely revamp error handling

There were multiple bugs here.  We weren't coherent about what to send
to whom, and whether to update the piece generation, if there was an
error (including a conflict or a partially processed API op).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
daemon/api.rs
src/error.rs
src/global.rs
src/imports.rs
src/updates.rs
templates/script.ts