Skip to content

Commit bc2bc32

Browse files
authored
Merge pull request Pennyw0rth#515 from Pennyw0rth/neff-patch-1
Change error to fail message
2 parents 1e583a0 + 2afb383 commit bc2bc32

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)