╭ changed ───╮ │src/push.zig│ ╰────────────╯ ╭─────────────────────────────────────────────────────────────────────────────╮ │443 .sideband = &sideband, │ │444 }); │ │445 }; │ │446 - result catch |err| { │ │447 - response.finish(writer, @errorName(err)) catch {}; │ │448 - if (err == error.CancelTransaction) return; │ │449 - return err; │ │446 + result catch |err| switch (err) { │ │447 + // a refused push has already written the report saying why │ │448 + error.CancelTransaction => return response.finish(writer, null),│ │449 + else => { │ │450 + response.finish(writer, @errorName(err)) catch {}; │ │451 + return err; │ │452 + }, │ │453 }; │ │454 │ │455 if (!published) return response.finish(writer, null); │ ╰─────────────────────────────────────────────────────────────────────────────╯