diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a2d29e..363368c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,6 +49,7 @@ improve compatibility with other RDF/JS tooling but may cause compatibility issues with existing code. The previous behavior is historical and may predate the RDF/JS spec. +- **BREAKING**: Change maximum deep iterations error text. - Update tooling. - Update for latest [rdf-canon][] changes: test suite location, README, links, and identifiers. diff --git a/lib/URDNA2015.js b/lib/URDNA2015.js index 14243df..a4f2ef1 100644 --- a/lib/URDNA2015.js +++ b/lib/URDNA2015.js @@ -274,7 +274,7 @@ module.exports = class URDNA2015 { async hashNDegreeQuads(id, issuer) { if(this.remainingDeepIterations === 0) { throw new Error( - `Maximum deep iterations (${this.maxDeepIterations}) exceeded.`); + `Maximum deep iterations exceeded (${this.maxDeepIterations}).`); } this.remainingDeepIterations--; diff --git a/lib/URDNA2015Sync.js b/lib/URDNA2015Sync.js index 276daa1..295c547 100644 --- a/lib/URDNA2015Sync.js +++ b/lib/URDNA2015Sync.js @@ -273,7 +273,7 @@ module.exports = class URDNA2015Sync { hashNDegreeQuads(id, issuer) { if(this.remainingDeepIterations === 0) { throw new Error( - `Maximum deep iterations (${this.maxDeepIterations}) exceeded.`); + `Maximum deep iterations exceeded (${this.maxDeepIterations}).`); } this.remainingDeepIterations--;