Skip to content

Commit

Permalink
Merge pull request #24 from ronkorving/master
Browse files Browse the repository at this point in the history
Clearer error output
  • Loading branch information
Ron Korving committed Oct 25, 2013
2 parents a36638a + 299d98d commit beb8be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tomes.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Tome.resolveChain = function (tome, chain) {
for (var i = 0; i < len; i += 1) {
var link = chain[i];
if (!target.hasOwnProperty(link)) {
throw new ReferenceError('resolveChain - Error resolving chain.' + chain);
throw new ReferenceError('resolveChain - Error resolving chain: ' + chain);
}
target = target[link];
}
Expand Down

0 comments on commit beb8be9

Please sign in to comment.