We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On error, callback is called (https://github.com/linkeddata/rdflib.js/blob/master/src/jsonldparser.js#L97) but this is actually executeCallback (https://github.com/linkeddata/rdflib.js/blob/master/src/parse.ts#L55), which does not do any error handling (https://github.com/linkeddata/rdflib.js/blob/master/src/parse.ts#L81)
callback
executeCallback
It appears the fix is to simple delete .catch(callback) to allow the error to be caught by executeErrorCallback (https://github.com/linkeddata/rdflib.js/blob/master/src/parse.ts#L66)
.catch(callback)
executeErrorCallback
The text was updated successfully, but these errors were encountered:
#349 Use jsonld package without n3 package
16daad7
No branches or pull requests
On error,
callback
is called (https://github.com/linkeddata/rdflib.js/blob/master/src/jsonldparser.js#L97) but this is actuallyexecuteCallback
(https://github.com/linkeddata/rdflib.js/blob/master/src/parse.ts#L55), which does not do any error handling (https://github.com/linkeddata/rdflib.js/blob/master/src/parse.ts#L81)It appears the fix is to simple delete
.catch(callback)
to allow the error to be caught byexecuteErrorCallback
(https://github.com/linkeddata/rdflib.js/blob/master/src/parse.ts#L66)The text was updated successfully, but these errors were encountered: