sync service: only log sliding sync errors when it's not a sliding sync expiration

This commit is contained in:
Benjamin Bouvier
2024-04-11 11:22:39 +02:00
parent 1dd497e9de
commit 1053bc9148
+6 -2
View File
@@ -233,7 +233,9 @@ impl SyncService {
} else {
false
};
error!("Error while processing encryption in sync service: {err:#}");
if !has_expired {
error!("Error while processing encryption in sync service: {err:#}");
}
break (true, has_expired);
}
None => {
@@ -277,7 +279,9 @@ impl SyncService {
} else {
false
};
error!("Error while processing room list in sync service: {err:#}");
if !has_expired {
error!("Error while processing room list in sync service: {err:#}");
}
break (true, has_expired);
}
None => {