Skip to content

Commit

Permalink
Change error to fail message
Browse files Browse the repository at this point in the history
  • Loading branch information
NeffIsBack committed Dec 21, 2024
1 parent 1e583a0 commit 2afb383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nxc/modules/mssql_coerce.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ def on_login(self, context, connection):
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")

0 comments on commit 2afb383

Please sign in to comment.