Skip to content

Commit

Permalink
Clearer error output
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron Korving committed Oct 24, 2013
1 parent a36638a commit 299d98d
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 299d98d

Please sign in to comment.