mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[🐴] better error message for "Bad token scope" error (#4194)

* better error message for "Bad token scope" error

* log -> sign

authored by samuel.fm and committed by

GitHub b093e0b6 5217876f

+3
+3
src/lib/strings/errors.ts
··· 11 11 if (str.includes('Upstream Failure')) { 12 12 return 'The server appears to be experiencing issues. Please try again in a few moments.' 13 13 } 14 + if (str.includes('Bad token scope')) { 15 + return 'This feature is not available while using an App Password. Please sign in with your main password.' 16 + } 14 17 if (str.startsWith('Error: ')) { 15 18 return str.slice('Error: '.length) 16 19 }