A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: show proper error on attachment upload failure
Abdullah Atta59712537283b
diff --git a/apps/web/src/interfaces/fs.js b/apps/web/src/interfaces/fs.jsindex 3c24aff4e..3697a2b51 100644--- a/apps/web/src/interfaces/fs.js+++ b/apps/web/src/interfaces/fs.js@@ -574,7 +574,7 @@ function parseS3Error(data) {if (!(data instanceof ArrayBuffer)) {return {Code: "UNKNOWN",- Message: "An unknown error occured while uploading the attachment."+ Message: typeof data === "object" ? JSON.stringify(data) : data};}const xml = new TextDecoder().decode(data);