Linebreaks for a more readable error message.
@@ -2398,8 +2398,8 @@ function groupByGraphs(jsonldData) {
if(!graph['@graph'] || !graphUri || !context) {
const msg = 'Grouping-by-graph failed for the graph ' +
graphUri + ' and context ' + JSON.stringify(graphUri) +
- ' with the following jsonld: \n' +
- JSON.stringify(graphWithContext);
+ ' with the following jsonld: \n\n' +
+ JSON.stringify(graphWithContext) + '\n\n';
//TODO: reactivate error msg
//console.error(msg);
return Promise.reject(msg);
