Skip to content

Commit

Permalink
add cause for error
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius456 committed Sep 24, 2024
1 parent ffed32d commit c27eba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk-android/src/deviceManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ export const connectToWifiDevice = async (target: string) => {

if (deviceResponse.includes('connected')) return true;

if (deviceResponse.includes('Connection refused')) {
if (deviceResponse.includes('Connection refused') || deviceResponse.includes('timed out')) {
logError(`Failed to ${connect_str}. Connection refused. Make sure to that ip and port are correct.`, {
skipAnalytics: true,
});
Expand Down

0 comments on commit c27eba5

Please sign in to comment.