Improve error message for unresponsive clients

Summary:
This change adds 'adb' to the error message checks. If the device is Android, is confusing to suggest the problem may be with 'idb'.

This could be further improved by looking at the client OS and device type to suggest formulate the correct message.

Reviewed By: passy

Differential Revision: D31894695

fbshipit-source-id: 8eb2ca152807afd9706af1523c917803611246d7
This commit is contained in:
Lorenzo Blasa
2021-10-25 06:49:36 -07:00
committed by Facebook GitHub Bot
parent 945f133593
commit ef8557b5a1

View File

@@ -93,7 +93,7 @@ export class FlipperServerImpl implements FlipperServer {
description:
medium === 'WWW'
? `Verify that both your computer and mobile device are on Lighthouse/VPN that you are logged in to Facebook Intern so that certificates can be exhanged. See: https://fburl.com/flippervpn`
: 'Verify that your client is connected to Flipper and that there is no error related to idb.',
: 'Verify that your client is connected to Flipper and that there is no error related to idb or adb.',
});
},
);