Skip to content

Conversation

rjruizes
Copy link
Contributor

@rjruizes rjruizes commented Oct 9, 2019

Currently, if you reference a schema file that does not exist, you get this error message:

unknown protocol: classpath

because the classpath URL is being passed to the fallback client, which can't process it.

This PR improves the error message to name the classpath resource that cannot be found:

Caused by: java.io.IOException: Could not find classpath://com/test/predefined.json

@coveralls
Copy link

coveralls commented Oct 9, 2019

Coverage Status

Coverage increased (+0.01%) to 91.54% when pulling e669256 on rjruizes:master into 721c1bc on everit-org:master.

@erosb erosb merged commit 120bf51 into everit-org:master Oct 10, 2019
@erosb
Copy link
Contributor

erosb commented Oct 10, 2019

Nice fix, thank you for your work @rjruizes !

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.

3 participants