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")) {
|
||||
return true;
|
||||
}
|
||||
if (e.getMessage().contains("Connection timed out")) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue