Skip to content

fix yaml git error reporting#92

Merged
epcim merged 2 commits intodevelopfrom
andrewp-fix-yaml-git-errors
Jun 12, 2020
Merged

fix yaml git error reporting#92
epcim merged 2 commits intodevelopfrom
andrewp-fix-yaml-git-errors

Conversation

@AndrewPickford
Copy link
Copy Markdown
Collaborator

Report the correct paths and urls when raising a DuplicateNodeNameError for the yaml git storage.

Also do a minor tidy up to the base error classes InterpolationError and NameError to make msg an optional parameter with a default of None. This mirrors how classes derived from InterpolationError and NameError use the msg parameter.

This has been running on our production system for the past six months.

…Error

These are parent classes for other error classes which all pass the
msg parameter as an optional parameter.
@epcim epcim merged commit 789878b into develop Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants