Merge pull request #515 from Pennyw0rth/neff-patch-1

Change error to fail message
This commit is contained in:
Alex
2024-12-21 15:23:18 +01:00
committed by GitHub
+1 -1
View File
@@ -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")