Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.12.0
-
None
Description
Config files may be written in router config format or json format. Either way the file data is reorganized internally into json format. After the data is reorganized then the original text formatting is lost. If there is a json parse error then the json errors showing line and column numbers are for the reformatted text and can not be correlated to the original input.
This issue adds error logs in the event of a config parse error. The logs show the config data as it was presented to the json parser. Users may then see specifically where the config parsing failed with respect to their original input.
This issue is different from DISPATCH-1707. Fixing this issue will aid in debugging and fixing that issue.