From 0240654b8faeb865d5fe4d20cc05d05df056fb76 Mon Sep 17 00:00:00 2001 From: OMORJEEVAN Date: Sun, 5 Jul 2026 00:18:10 -0400 Subject: [PATCH] Improve error handling in terminal_handler.py Added traceback import and error handling for malware retrieval. --- imports/terminal_handler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imports/terminal_handler.py b/imports/terminal_handler.py index b196516..0effbb8 100644 --- a/imports/terminal_handler.py +++ b/imports/terminal_handler.py @@ -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