More elaborate error message when plugin download fails

Summary: See https://fb.workplace.com/groups/flippersupport/permalink/1586389021841750/. Flipper suggests that not connecting to VPN is the problem, while the problem can also not being logged in.

Reviewed By: antonk52

Differential Revision: D44164192

fbshipit-source-id: 993d2a4bdc6a9cb0c45f35856b83449cea294d45
This commit is contained in:
Michel Weststrate
2023-03-17 06:35:32 -07:00
committed by Facebook GitHub Bot
parent 8a10979206
commit 3751d3c84c

View File

@@ -90,7 +90,7 @@ async function handlePluginDownload(
if (startedByUser) { if (startedByUser) {
showErrorNotification( showErrorNotification(
`Failed to download plugin "${title}" v${version}.`, `Failed to download plugin "${title}" v${version}.`,
'Please check that you are on VPN/Lighthouse.', 'Please check that you are on VPN/Lighthouse and that you are logged into Flipper.',
); );
} }
throw error; throw error;