chore(display/takeScreenshot): remove annoying error log

This commit is contained in:
2026-01-10 00:36:44 +01:00
parent e27cf170ef
commit c175e9d3f8
-2
View File
@@ -3,7 +3,6 @@ package pkg
import ( import (
"errors" "errors"
"fmt" "fmt"
"log/slog"
"net" "net"
"os" "os"
"os/exec" "os/exec"
@@ -100,7 +99,6 @@ func TakeScreenshot() (string, error) {
if commandOutput.ExitCode == 0 { if commandOutput.ExitCode == 0 {
return tempFilePath, nil return tempFilePath, nil
} }
slog.Warn("Screenshot error", "error", commandOutput.Stderr)
} }
return "", errors.New("no screenshot utility found or all failed") return "", errors.New("no screenshot utility found or all failed")
} }