A vibe coded tangled fork which supports pijul.

spindle: replace fmt.Println with structured logger in processPipeline

Unmarshal errors in processPipeline were written to stdout via
fmt.Println, bypassing the slog-based structured logger. Replace with
s.l.Error so the error carries the standard fields (timestamp,
component, log level) and appears consistently with the rest of
spindle's log output.

Signed-off-by: Matías Insaurralde <matias@insaurral.de>

authored by

Matías Insaurralde and committed by tangled.org 73c7f95d 233111b3

+1 -1
+1 -1
spindle/server.go
··· 298 298 tpl := tangled.Pipeline{} 299 299 err := json.Unmarshal(msg.EventJson, &tpl) 300 300 if err != nil { 301 - fmt.Println("error unmarshalling", err) 301 + s.l.Error("failed to unmarshal pipeline event", "err", err) 302 302 return err 303 303 } 304 304