Open RubenEschauzier opened 1 year ago
If in the push method (here) of the FiFo link queue any error is thrown, it will exit the query with no message or warning.
With query: PREFIX snvoc: https://solidbench.linkeddatafragments.org/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/ SELECT DISTINCT ?forumId ?forumTitle WHERE { ?message snvoc:hasCreator https://solidbench.linkeddatafragments.org/pods/00000006597069767117/profile/card#me. ?forum snvoc:containerOf ?message; snvoc:id ?forumId; snvoc:title ?forumTitle. } When you run the following piece of code
const queryEngineFactory = require("@comunica/query-sparql-link-traversal-solid-benchmark-version").QueryEngineFactory; const engine = await new queryEngineFactory().create({}); const output = await engine.queryBindings(query, {"lenient": true}); console.log((await output.toArray()).length)
The expected result is 27, with message: "exited with code=0 in x seconds". However when you throw an Error in the push function, there is nothing printed to the console, but the execution still ends with: "exited with code=0 in x seconds".
27
Issue type:
Description:
If in the push method (here) of the FiFo link queue any error is thrown, it will exit the query with no message or warning.
With query: PREFIX snvoc: https://solidbench.linkeddatafragments.org/www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/ SELECT DISTINCT ?forumId ?forumTitle WHERE { ?message snvoc:hasCreator https://solidbench.linkeddatafragments.org/pods/00000006597069767117/profile/card#me. ?forum snvoc:containerOf ?message; snvoc:id ?forumId; snvoc:title ?forumTitle. } When you run the following piece of code
The expected result is
27
, with message: "exited with code=0 in x seconds". However when you throw an Error in the push function, there is nothing printed to the console, but the execution still ends with: "exited with code=0 in x seconds".Environment: