improve fprintf related error handling

This commit is contained in:
Michael Eischer committed 2024-11-01 17:07:43 +01:00
1 parent 41fa41b28b
commit 569a117a1d
10 files changed
+43 -33

No files matched your search

+1 -1
View File
@@ -106,7 +106,7 @@ func runRESTServer(ctx context.Context, t testing.TB, dir, reqListenAddr string)
matched = true
}
}
fmt.Fprintln(os.Stdout, line) // print all output to console
_, _ = fmt.Fprintln(os.Stdout, line) // print all output to console
}
}()