Compare commits

..

No commits in common. "f9bc3d66d6deb895f80788bf8df958f391e398d9" and "0ef128e6f2f813cb1715e8f716922523e7dba6e7" have entirely different histories.

2 changed files with 2 additions and 4 deletions

4
ota.go
View File

@ -261,9 +261,7 @@ func verifyFile(path string, expectedHash string, verifyProgress *float32, scope
}
// close the file so we can rename below
if err := fileToHash.Close(); err != nil {
return fmt.Errorf("error closing file: %w", err)
}
fileToHash.Close()
hashSum := hex.EncodeToString(hash.Sum(nil))
scopedLogger.Info().Str("path", path).Str("hash", hashSum).Msg("SHA256 hash of")

View File

@ -589,7 +589,7 @@ export default function KvmIdRoute() {
api.POST(`${CLOUD_API}/webrtc/turn_activity`, {
bytesReceived: bytesReceivedDelta,
bytesSent: bytesSentDelta,
}).catch(() => {
}).catch(()=>{
// we don't care about errors here, but we don't want unhandled promise rejections
});
}, 10000);