Skip to content

Commit 660ccb3

Browse files
committed
Notify user of sync failure
1 parent f9b90f3 commit 660ccb3

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

apps/obsidian/src/utils/syncDgNodesToSupabase.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -751,10 +751,8 @@ const syncChangedNodesToSupabase = async ({
751751
try {
752752
await syncPublishedNodesAssets(plugin, changedNodes);
753753
} catch (error) {
754-
// console.error(
755-
// `Failed to sync published node assets`,
756-
// error,
757-
// );
754+
console.error(`Failed to sync published node assets`, error);
755+
new Notice(`Failed to sync published node assets.`);
758756
}
759757
};
760758

0 commit comments

Comments
 (0)