Solved hidden exception that stopped program normal run.

This commit is contained in:
oriagmon
2018-10-17 12:53:31 +03:00
parent 87232a12cd
commit 655467c27a
2 changed files with 0 additions and 3 deletions

View File

@@ -76,8 +76,6 @@ class EventQueue(Queue, object):
try:
hook.execute()
except Exception as ex:
import traceback
traceback.print_exc()
logging.debug(ex.message)
self.task_done()
logging.debug("closing thread...")

View File

@@ -31,7 +31,6 @@ class PlainReporter(object):
else:
services_lock.release()
print("\nKube Hunter couldn't find any clusters")
services_lock.release()
# print("\nKube Hunter couldn't find any clusters. {}".format("Maybe try with --active?" if not config.active else ""))
return output