lib/model: Send failure report on CC encryption check error (#7460)

This commit is contained in:
Simon Frei 2021-03-12 12:21:54 +01:00 committed by GitHub
parent 31f859e909
commit 8a4c00d82e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1369,7 +1369,7 @@ func (m *model) ccHandleFolders(folders []protocol.Folder, deviceCfg config.Devi
} else {
l.Warnln(msg)
}
m.evLogger.Log(events.Failure, err.Error())
return tempIndexFolders, paused, err
}
if devErrs, ok := m.folderEncryptionFailures[folder.ID]; ok {