TagSpaces is an offline, open source, document manager with tagging support
KanBan upload fixes
sytolka0f12cdf25c1
diff --git a/app/reducers/io-actions.ts b/app/reducers/io-actions.tsindex f55b64981..07c1cf2b5 100644--- a/app/reducers/io-actions.ts+++ b/app/reducers/io-actions.ts@@ -353,6 +353,7 @@ const actions = {if (AppConfig.isElectron) {// for AWS location getFileContentPromise cannot load with io-objectorereturn import('fs-extra').then(fs => {+ try {const fileContent = fs.readFileSync(job[0]);return PlatformIO.getPropertiesPromise(filePath).then(entryProps => {@@ -408,6 +409,9 @@ const actions = {.catch(err => {console.log('Error getting properties ' + err);});+ } catch (ex) {+ console.warn("Error readFileSync for " + job[0], ex);+ }});}