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
|
result = None
|
||||||
try:
|
try:
|
||||||
result = self._exploit_host()
|
result = self._exploit_host()
|
||||||
except Exception as e:
|
except Exception as _:
|
||||||
logger.warning(f'Exception in exploit_host: {e}')
|
logger.error(f'Exception in exploit_host', exc_info=True)
|
||||||
finally:
|
finally:
|
||||||
self.post_exploit()
|
self.post_exploit()
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Reference in New Issue