Minor refactoring

This commit is contained in:
Miroslav Stampar
2021-09-02 21:44:41 +02:00
parent cc5ba4753c
commit 6e968584f6
3 changed files with 4 additions and 4 deletions

View File

@@ -695,7 +695,7 @@ class Connect(object):
except SqlmapConnectionException as ex:
if conf.proxyList and not kb.threadException:
warnMsg = "unable to connect to the target URL ('%s')" % ex
warnMsg = "unable to connect to the target URL ('%s')" % getSafeExString(ex)
logger.critical(warnMsg)
threadData.retriesCount = conf.retries
return Connect._retryProxy(**kwargs)