From 299d98d67566089a6823b9f5299765950a6ae4dd Mon Sep 17 00:00:00 2001 From: Ron Korving Date: Thu, 24 Oct 2013 20:18:18 +0900 Subject: [PATCH] Clearer error output --- tomes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tomes.js b/tomes.js index 17d1bc0..6a92719 100755 --- a/tomes.js +++ b/tomes.js @@ -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]; }