Skip to content

Conversation

phawxby
Copy link
Contributor

@phawxby phawxby commented Sep 28, 2017

Summary of changes:

Simple change to output the filename and error message of a failed parse to make the problem easier to find when there are multiple json files for a single pattern

@phawxby phawxby changed the title Better errors More helpful errors Sep 28, 2017
@bmuenzenmeyer bmuenzenmeyer self-requested a review October 1, 2017 10:09
Copy link
Member

@bmuenzenmeyer bmuenzenmeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Am I right in understanding that this does not catch json errors?

It didn't seem to in my testing

@phawxby
Copy link
Contributor Author

phawxby commented Oct 2, 2017

Try duplicate keys. it definitely catches those

@stale stale bot removed the needs response label Oct 2, 2017
@bmuenzenmeyer
Copy link
Member

I am going to try moving this to our upstream branch - as I want to shift work towards an alpha there.

Apologies if I muck everything up

@bmuenzenmeyer bmuenzenmeyer changed the base branch from dev to dev-3.0 October 6, 2017 19:50
@bmuenzenmeyer bmuenzenmeyer changed the base branch from dev-3.0 to dev October 6, 2017 19:51
@bmuenzenmeyer
Copy link
Member

ugh, that didnt turn out as planned so i reverted

@bmuenzenmeyer bmuenzenmeyer merged commit e7e3cd4 into pattern-lab:dev Oct 20, 2017
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