diff --git a/apps/web/src/components/error-boundary/index.tsx b/apps/web/src/components/error-boundary/index.tsx index 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.`,