cloud-init-dev team mailing list archive
-
cloud-init-dev team
-
Mailing list archive
-
Message #04922
[Merge] ~chad.smith/cloud-init:cleanup/schema-annotate-invalid-yaml into cloud-init:master
The proposal to merge ~chad.smith/cloud-init:cleanup/schema-annotate-invalid-yaml into cloud-init:master has been updated.
Commit message changed to:
yaml_load/schema: Add invalid line and column nums to error message
Yaml tracebacks are generally hard to read for average users. Add a bit of
logic to util.yaml_load and schema validation to look for
YAMLError.context_marker or problem_marker line and column counts.
No longer log the full exceeption traceback from the yaml_load error,
instead just LOG.warning for the specific error and point to the offending
line and column where the problem exists.
For more details, see:
https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/346415
--
Your team cloud-init commiters is requested to review the proposed merge of ~chad.smith/cloud-init:cleanup/schema-annotate-invalid-yaml into cloud-init:master.
References