TagSpaces is an offline, open source, document manager with tagging support
fix: https://github.com/tagspaces/tagspaces/issues/1955
Stanimir32fba80c91b1
diff --git a/app/components/EntryContainer.tsx b/app/components/EntryContainer.tsxindex 613a31ad1..d17abaa9f 100644--- a/app/components/EntryContainer.tsx+++ b/app/components/EntryContainer.tsx@@ -734,7 +734,11 @@ function EntryContainer(props: Props) {id,PlatformIO.getDirSeparator());- await PlatformIO.copyFilePromiseOverwrite(fileOpen.path, targetPath);+ try {+ await PlatformIO.copyFilePromiseOverwrite(fileOpen.path, targetPath); // todo test what happened if remove await?+ } catch (error) {+ console.error('copyFilePromiseOverwrite', error);+ }}return PlatformIO.saveTextFilePromise({ path: fileOpen.path, lmdt: fileOpen.lmdt },