all: Failure reporting fixes (#7331)

This commit is contained in:
Simon Frei
2021-02-05 11:21:14 +01:00
committed by GitHub
parent ffc14a77c6
commit 27a34609a1
3 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -1202,7 +1202,7 @@ func unchanged(nf, ef protocol.FileIntf) bool {
func (db *Lowlevel) handleFailure(err error) {
db.checkErrorForRepair(err)
if shouldReportFailure(err) {
db.evLogger.Log(events.Failure, err)
db.evLogger.Log(events.Failure, err.Error())
}
}