[minor] Logs
This commit is contained in:
parent
4eb1ae2fb1
commit
4cc882039b
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ where
|
||||||
/// In case of conflicts (the same item has been modified on both ends since the last sync, `server` always wins)
|
/// In case of conflicts (the same item has been modified on both ends since the last sync, `server` always wins)
|
||||||
pub async fn sync(&mut self) -> Result<(), Box<dyn Error>> {
|
pub async fn sync(&mut self) -> Result<(), Box<dyn Error>> {
|
||||||
let last_sync = self.local.get_last_sync();
|
let last_sync = self.local.get_last_sync();
|
||||||
|
log::info!("Starting a sync. Last sync was at {:?}", last_sync);
|
||||||
let cals_server = self.server.get_calendars_mut().await?;
|
let cals_server = self.server.get_calendars_mut().await?;
|
||||||
|
|
||||||
for cal_server in cals_server {
|
for cal_server in cals_server {
|
||||||
|
|
Loading…
Add table
Reference in a new issue