Skip to content

Commit 2afb383

Browse files
committed
Change error to fail message
1 parent 1e583a0 commit 2afb383

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/modules/mssql_coerce.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,5 @@ def on_login(self, context, connection):
7575
result = self.mssql_conn.sql_query(command)
7676
self.context.log.debug(f"Executing command: {command}, Command result: {result}")
7777
except Exception as e:
78-
self.context.log.error(f"Failed to execute command: {command}, Error: {e}")
78+
self.context.log.fail(f"Failed to execute command: {command}, Error: {e}")
7979
self.context.log.display("Commands executed successfully, check the listener for results")

0 commit comments

Comments
 (0)