Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(src/plugins/utils/findOctetSequencePaths.js): Show path to erring…
… element on exception Recently, I ran across an issue where [if the validator throws an exception in a specific part of the code, the path to the exception-causing code is swallowed](#180). After a moderate amount of digging, I decided that an option for providing more information about this code would be to put the path to the problematic element or elements into the exception message. This exception message is displayed whenever the code crashes out. So, for example, the previous error message output by lint-openapi would say "Cannot read property 'type' of null", whereas the new error would list the full path to the type that was causing the exception. re #180
- Loading branch information