mirror of
https://github.com/restic/restic.git
synced 2026-10-12 04:57:12 +00:00
improve fprintf related error handling
This commit is contained in:
1 parent
41fa41b28b
commit
569a117a1d
10 files changed
+43
-33
No files matched your search
@@ -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
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in new issue
Block a user