forked from p15670423/monkey
print stack trace in exception
This commit is contained in:
parent
93b978edac
commit
c7b51bfe19
|
@ -73,8 +73,8 @@ class HostExploiter(Plugin):
|
|||
result = None
|
||||
try:
|
||||
result = self._exploit_host()
|
||||
except Exception as e:
|
||||
logger.warning(f'Exception in exploit_host: {e}')
|
||||
except Exception as _:
|
||||
logger.error(f'Exception in exploit_host', exc_info=True)
|
||||
finally:
|
||||
self.post_exploit()
|
||||
return result
|
||||
|
|
Loading…
Reference in New Issue