Skip to content

Commit

Permalink
Merge pull request #515 from Pennyw0rth/neff-patch-1
Browse files Browse the repository at this point in the history
Change error to fail message
  • Loading branch information
NeffIsBack authored Dec 21, 2024
2 parents 1e583a0 + 2afb383 commit bc2bc32
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 bc2bc32

Please sign in to comment.