forked from jhpyle/docassemble
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added correct line numbers in errors
There is no indication on existing error screens what line of the input YAML file where the error is happening. This, combined with the fact that some error messages have incorrect line numbers, is very confusing for Docassemble users of all skills. This PR adds the starting line number of the block for all errors. It additionally corrects line numbers for `yaml.errors.MarkedYAMLError`s, which are most errors emitted when parsing YAML.
- Loading branch information
1 parent
3f4e06a
commit a305e8b
Showing
1 changed file
with
32 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters