From 2afb383cdf11e670df3164e1f1b699bf74dc592d Mon Sep 17 00:00:00 2001 From: Alexander Neff Date: Sat, 21 Dec 2024 08:36:55 -0500 Subject: [PATCH] Change error to fail message --- nxc/modules/mssql_coerce.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxc/modules/mssql_coerce.py b/nxc/modules/mssql_coerce.py index 634b7e50..a4dca25a 100644 --- a/nxc/modules/mssql_coerce.py +++ b/nxc/modules/mssql_coerce.py @@ -75,5 +75,5 @@ class NXCModule: result = self.mssql_conn.sql_query(command) self.context.log.debug(f"Executing command: {command}, Command result: {result}") except Exception as e: - self.context.log.error(f"Failed to execute command: {command}, Error: {e}") + self.context.log.fail(f"Failed to execute command: {command}, Error: {e}") self.context.log.display("Commands executed successfully, check the listener for results")