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: handle `corrupted+migrations:` error
Abdullah Attab90cb28637f2
diff --git a/apps/web/src/components/error-boundary/index.tsx b/apps/web/src/components/error-boundary/index.tsxindex ad0cd7934..a4a553cc0 100644--- a/apps/web/src/components/error-boundary/index.tsx+++ b/apps/web/src/components/error-boundary/index.tsx@@ -164,7 +164,8 @@ function getErrorHelp(props: FallbackProps) {errorText.includes("unsupported file format") ||errorText.includes("null function or function signature mismatch") ||errorText.includes("malformed database schema") ||- /table ".+?" already exists/.test(errorText)+ /table ".+?" already exists/.test(errorText) ||+ errorText.includes("corrupted migrations:")) {return {explanation: `This error usually means the database file is either corrupt or it could not be decrypted.`,