[api] Error log when NONE Update command is sent (#7247)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Olivier ARCHER 2024-08-13 03:52:31 +02:00 committed by GitHub
parent 390d5f2f93
commit ab51bbd8f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1335,6 +1335,9 @@ void APIConnection::update_command(const UpdateCommandRequest &msg) {
case enums::UPDATE_COMMAND_CHECK:
update->check();
break;
case enums::UPDATE_COMMAND_NONE:
ESP_LOGE(TAG, "UPDATE_COMMAND_NONE not handled. Check client is sending the correct command");
break;
default:
ESP_LOGW(TAG, "Unknown update command: %" PRIu32, msg.command);
break;