fix(GODT-2437): Silence harmless report to sentry.

This commit is contained in:
Romain LE JEUNE
2023-05-24 17:18:56 +02:00
parent f6741a9b58
commit 84a771d9fe
3 changed files with 0 additions and 24 deletions

View File

@ -18,7 +18,6 @@
package main
import (
"fmt"
"os"
"path/filepath"
"runtime"
@ -240,10 +239,6 @@ func getPathToUpdatedExecutable(
if err := version.VerifyFiles(kr); err != nil {
vlog.WithError(err).Error("Files failed verification and will be removed")
if err := reporter.ReportMessage(fmt.Sprintf("version %v failed verification: %v", version, err)); err != nil {
vlog.WithError(err).Error("Failed to report corrupt update files")
}
if err := version.Remove(); err != nil {
vlog.WithError(err).Error("Failed to remove files")
}