Merge pull request #4473 from Self-Perfection/patch-1
All 2xx responses as success in Online Tracking
This commit is contained in:
commit
da401e034c
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ public class LiveMonitoringHelper {
|
|||
|
||||
log.info("Monitor " + uri);
|
||||
|
||||
if (urlConnection.getResponseCode() != 200) {
|
||||
if (urlConnection.getResponseCode()/100 != 2) {
|
||||
|
||||
String msg = urlConnection.getResponseCode() + " : " + //$NON-NLS-1$//$NON-NLS-2$
|
||||
urlConnection.getResponseMessage();
|
||||
|
|
Loading…
Reference in a new issue