diff options
-rw-r--r-- | src/lib/strings/errors.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/strings/errors.ts b/src/lib/strings/errors.ts index 0c11a6706..899d8ebce 100644 --- a/src/lib/strings/errors.ts +++ b/src/lib/strings/errors.ts @@ -11,6 +11,9 @@ export function cleanError(str: any): string { if (str.includes('Upstream Failure')) { return 'The server appears to be experiencing issues. Please try again in a few moments.' } + if (str.includes('Bad token scope')) { + return 'This feature is not available while using an App Password. Please sign in with your main password.' + } if (str.startsWith('Error: ')) { return str.slice('Error: '.length) } |