Merge pull request #4473 from Self-Perfection/patch-1

All 2xx responses as success in Online Tracking
This commit is contained in:
vshcherb 2017-09-25 09:44:32 +02:00 committed by GitHub
commit da401e034c

View file

@ -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();