mirror of
https://codeberg.org/scip/io-exporter.git
synced 2025-12-17 20:41:00 +01:00
log errors to error channel, not debug
This commit is contained in:
@@ -59,7 +59,7 @@ func report(err error, fd *os.File) bool {
|
|||||||
failure = "operation timed out"
|
failure = "operation timed out"
|
||||||
}
|
}
|
||||||
|
|
||||||
slog.Debug("failed to check io", "error", failure)
|
slog.Error("io error", "error", failure)
|
||||||
|
|
||||||
if fd != nil {
|
if fd != nil {
|
||||||
if err := fd.Close(); err != nil {
|
if err := fd.Close(); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user