Add specified log when permission denied

This commit is contained in:
Him188 2020-06-23 18:19:32 +08:00
parent 4bc19a0a9d
commit 49d7d35a50

View File

@ -56,6 +56,9 @@ internal fun startConsoleThread() {
CommandExecuteStatus.COMMAND_NOT_FOUND -> {
consoleLogger.warning("Unknown command: ${result.commandName}")
}
CommandExecuteStatus.PERMISSION_DENIED -> {
consoleLogger.warning("Permission denied.")
}
}
}
}