Fix an error log

This commit is contained in:
2025-02-26 10:28:37 +02:00
parent 0a00219054
commit 05ff646284

View File

@@ -106,7 +106,7 @@ func startServer(listenHost string) (err error) {
if err != nil {
var asErr *errors.Error
if errors.As(err, &asErr) {
logging.LogError("Unexpected error: %v %v", err, err.(*errors.Error).ErrorWithStack())
logging.LogError("Unexpected error: %v", err.(*errors.Error).ErrorWithStack())
} else {
logging.LogError("Unexpected error: %v", err)
}