Commit Graph
2 Commits
Author SHA1 Message Date
clawbot ab3d7b62a9 Return sink write errors from every handler (closes #22)
check / check (push) Successful in 50s
check / check (pull_request) Successful in 47s
The console and JSON handlers threw away the error from their write to
stdout, so a lost log line looked delivered. They now return it,
wrapped. The webhook handler also returns an error for a status outside
2xx. The multiplex handler passes the record to every handler and
returns their errors joined with errors.Join instead of stopping at the
first.

Both stdout handlers gain an unexported writer, nil meaning os.Stdout at
write time, so tests can supply a sink that fails. The README says what
each handler returns and that the slog.Logger methods discard a
handler's error.

Model: opus-5-5
2026-10-06 04:12:19 +00:00
clawbot b28c0dca0c Bring main's fixes into next (closes #16)
check / check (push) Failing after 2s
Lands the merge of main into next, so main is an ancestor of next.

Model: opus-5-5
2026-10-06 01:29:59 +02:00