relay: exit with an error code when fetching the information document fails, like the other line-processing commands.

This commit is contained in:
Yasuhiro Matsumoto
2026-07-15 08:36:36 +09:00
parent 59bcd97617
commit 5874bbe588

View File

@@ -31,6 +31,7 @@ var relay = &cli.Command{
pretty, _ := json.MarshalIndent(info, "", " ") pretty, _ := json.MarshalIndent(info, "", " ")
stdout(string(pretty)) stdout(string(pretty))
} }
exitIfLineProcessingError(ctx)
return nil return nil
}, },
} }