mirror of
https://github.com/ytisf/theZoo.git
synced 2026-07-28 22:51:15 -07:00
Improve error handling in terminal_handler.py
Added traceback import and error handling for malware retrieval.
This commit is contained in:
@@ -164,6 +164,8 @@ class Controller:
|
||||
try:
|
||||
update_handler.get_malware(self.currentmodule)
|
||||
except:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
print(red('[-] ') + 'Error getting malware.')
|
||||
return
|
||||
# If used the 'use' command
|
||||
|
||||
Reference in New Issue
Block a user