Permalink
Browse files

better error message

  • Loading branch information...
1 parent 19f4d41 commit 8851c1cb9874371c8ef717d4249762a97b05711d Gabriel Llamas committed Dec 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/read.js
View
@@ -108,7 +108,7 @@ var namespace = function (p, key, value){
if (p[str] === undefined){
p[str] = {};
}else if (typeof p[str] !== "object"){
- return new Error ("Invalid namespace, the key must contain an " +
+ return new Error ("Invalid namespace chain, the key must contain an " +
"object: " + str);
}
p = p[str];

0 comments on commit 8851c1c

Please sign in to comment.