This commit is contained in:
Miroslav Stampar
2019-07-17 13:20:24 +02:00
parent 9d0f446c24
commit 453a6fbc6f
6 changed files with 14 additions and 5 deletions

View File

@@ -646,7 +646,7 @@ class Connect(object):
if not multipart:
logger.log(CUSTOM_LOGGING.TRAFFIC_IN, responseMsg)
if ex.code != conf.ignoreCode:
if ex.code not in (conf.ignoreCode or []):
if ex.code == _http_client.UNAUTHORIZED:
errMsg = "not authorized, try to provide right HTTP "
errMsg += "authentication type and valid credentials (%d)" % code