From e02c6e494a1ff16f0ae252ae68eb170f49a3d543 Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Wed, 24 Apr 2024 09:54:11 +0800 Subject: [PATCH] add logs --- src/main.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 67fd471..b0fc2d7 100644 --- a/src/main.ts +++ b/src/main.ts @@ -398,14 +398,15 @@ export default class OmnivorePlugin extends Plugin { } } - manualSync && new Notice('🎉 Sync completed') - this.settings.syncAt = DateTime.local().toFormat(DATE_FORMAT) if (!hasNextPage) { break } } + + console.log('obsidian-omnivore sync completed', this.settings.syncAt) + manualSync && new Notice('🎉 Sync completed') } catch (e) { new Notice('Failed to fetch items') console.error(e)