diff --git a/src/utils/storage.ts b/src/utils/storage.ts index ae06680..2237042 100644 --- a/src/utils/storage.ts +++ b/src/utils/storage.ts @@ -31,5 +31,8 @@ export const isDomainWhitelisted = async (url: string | undefined) => { export const assertDomainWhitelist = async (url: string) => { const isWhiteListed = await isDomainWhitelisted(url); - if (!isWhiteListed) throw new Error('Domain is not whitelisted'); + if (!isWhiteListed) + throw new Error( + 'Domain is not whitelisted. Open the extension and click on the power button to whitelist the domain.', + ); };