adding timeout to list of connection failures
This commit is contained in:
parent
5ba6ec5a69
commit
0977b793da
|
@ -52,6 +52,9 @@ public class NetworkExceptionHelper {
|
||||||
if (e.getMessage().contains("Broken pipe")) {
|
if (e.getMessage().contains("Broken pipe")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (e.getMessage().contains("Connection timed out")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue