Skip to content

DM-1389 report malformed command

Afonso Mukai requested to merge DM-1389_report_malformed_command into master

Created by: mchorazak

Issue

DM-1389

Description of work

  • CommandHandler is now case-insensitive when checking "cmd" field of JSON command. Error messages indicate whether the field was not found or not understood.
  • Simplified the way command string is passed between methods. Instead of being parsed in multiple methods multiple times, JSON is now parsed in just one place and passed as nlohmann::json to handling methods.

Nominate for Group Code Review

  • Nominate for code review

Merge request reports