Dummy patch for #3830

This commit is contained in:
Miroslav Stampar
2019-07-17 13:03:48 +02:00
parent e6173d7eaa
commit 9d0f446c24
2 changed files with 7 additions and 1 deletions

View File

@@ -330,6 +330,12 @@ def main():
logger.critical(errMsg)
raise SystemExit
elif "can't allocate read lock" in excMsg:
errMsg = "there has been a problem in regular socket operation "
errMsg += "('%s')" % excMsg.strip().split('\n')[-1]
logger.critical(errMsg)
raise SystemExit
elif "'DictObject' object has no attribute '" in excMsg and all(_ in errMsg for _ in ("(fingerprinted)", "(identified)")):
errMsg = "there has been a problem in enumeration. "
errMsg += "Because of a considerable chance of false-positive case "