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: allow clearing database on `database disk image is malformed`
Abdullah Atta03240345ebb7
diff --git a/apps/web/src/components/error-boundary/index.tsx b/apps/web/src/components/error-boundary/index.tsxindex 2a3d715bf..3e8db053e 100644--- a/apps/web/src/components/error-boundary/index.tsx+++ b/apps/web/src/components/error-boundary/index.tsx@@ -153,7 +153,8 @@ function getErrorHelp(props: FallbackProps) {const errorText = errorToString(error);if (errorText.includes("file is not a database") ||- errorText.includes("unsupported file format")+ errorText.includes("unsupported file format") ||+ errorText.includes("database disk image is malformed")) {return {explanation: `This error usually means the database file is either corrupt or it could not be decrypted.`,