log errors to error channel, not debug

This commit is contained in:
2025-10-23 20:08:10 +02:00
parent 903401f511
commit c1199931ee

View File

@@ -59,7 +59,7 @@ func report(err error, fd *os.File) bool {
failure = "operation timed out"
}
slog.Debug("failed to check io", "error", failure)
slog.Error("io error", "error", failure)
if fd != nil {
if err := fd.Close(); err != nil {