DM-1389 report malformed command
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