Improve error handling in terminal_handler.py

Added traceback import and error handling for malware retrieval.
This commit is contained in:
OMORJEEVAN
2026-07-05 00:18:10 -04:00
committed by GitHub
parent a474575549
commit 0240654b8f
+2
View File
@@ -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