Report missing XML tags rather than a generic range error.
commite582f25a5797027978d22eddc3cc06cefc7198a2
authornparker <nparker@chromium.org>
Wed, 8 Jul 2015 21:09:23 +0000 (8 14:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 8 Jul 2015 21:09:48 +0000 (8 21:09 +0000)
tree2cac2d0b8145396a1d652f8f58420a603040ed2b
parentdeb02768bf9805279461259119a845aa2c734e25
Report missing XML tags rather than a generic range error.

This makes it much easier to debug when pretty_print.py fails to
parse rappor.xml.

BUG=451646

Review URL: https://codereview.chromium.org/1226073002

Cr-Commit-Position: refs/heads/master@{#337905}
tools/metrics/common/models.py
tools/metrics/common/presubmit_util.py