Skip to content

Add path information to errors #163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

fmvilas
Copy link

@fmvilas fmvilas commented Apr 16, 2020

Hey! This PR adds extra information to the errors triggered when dereferencing and resolving external references. The reason I'm adding this info is that in the AsyncAPI playground, I want to find line and column of the failing $ref and with the current error I'd have to parse the error message, which is not ideal.

I suspect this info could be added to other errors too so feel free to point me out to the other places and I'll be happy to add them on this PR.

Thanks a lot for the excellent tool 🙌

@fmvilas
Copy link
Author

fmvilas commented Apr 19, 2020

I think this PR doesn't make sense anymore. #153 also fixed that problem.

BTW, @JamesMessinger, I've seen tests are failing for Windows. Let me know if I can help.

@fmvilas fmvilas closed this Apr 19, 2020
@JamesMessinger
Copy link
Member

The failing tests on Windows are due to two new dependencies that were added in PR #153 that don't work on IE or Edge. I opened Issue #165 to discuss possible solutions.

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