summaryrefslogtreecommitdiff
path: root/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'console.c')
-rw-r--r--console.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/console.c b/console.c
index 88e299b14..7555c9f62 100644
--- a/console.c
+++ b/console.c
@@ -1023,6 +1023,7 @@ void IConsoleCmdExec(const char *cmdstr)
for (cmdptr = cmdstr; *cmdptr != '\0'; *cmdptr++) {
if (!IsValidAsciiChar(*cmdptr)) {
IConsoleError("command contains malformed characters, aborting");
+ IConsolePrintF(_iconsole_color_error, "ERROR: command was: '%s'", cmdstr);
return;
}
}