Catching JSON parser errors
Recently while running the dumper, specifically the executable ca-dump-trigger-btag
, there was an issue with a missing key in the trigger.json
config. The missing key was track_ambiguity_solver_ranking
under decorators, but the error stack trace wasn't very descriptive. Per @dguest suggestion, rising this issue to discuss/add a system that will generate more verbose error logs when encountering a missing key in the json configs.
Tagging @svanstro in this discussion as well.