mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
Less critical messages when something goes wrong with connection
This commit is contained in:
parent
ef22f31fdf
commit
1fd6b007ab
|
@ -621,7 +621,11 @@ class Connect(object):
|
||||||
return None, None, None
|
return None, None, None
|
||||||
elif threadData.retriesCount < conf.retries and not kb.threadException:
|
elif threadData.retriesCount < conf.retries and not kb.threadException:
|
||||||
warnMsg += ". sqlmap is going to retry the request"
|
warnMsg += ". sqlmap is going to retry the request"
|
||||||
logger.critical(warnMsg)
|
if not retrying:
|
||||||
|
warnMsg += "(s)"
|
||||||
|
logger.critical(warnMsg)
|
||||||
|
else:
|
||||||
|
logger.debug(warnMsg)
|
||||||
return Connect._retryProxy(**kwargs)
|
return Connect._retryProxy(**kwargs)
|
||||||
elif kb.testMode:
|
elif kb.testMode:
|
||||||
logger.critical(warnMsg)
|
logger.critical(warnMsg)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user