X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/f6f0febc2c599ed7bb2a2653215a74d8de1abace..0cb73c3dde36d0078f3c1aa4200f2edcb5ceed38:/main.go?ds=sidebyside diff --git a/main.go b/main.go index 400538a..89eb839 100644 --- a/main.go +++ b/main.go @@ -12,7 +12,9 @@ import ( func main() { err := run() if err != nil { - fmt.Fprintln(os.Stderr, "onechat:", err) + // A failed error report cannot be reported through the same + // stream. + fmt.Fprintln(os.Stderr, "onechat:", err) // nolint: errcheck os.Exit(1) } }