Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

better error message

  • Loading branch information...
commit c54346d5d576d6e7244abfda4d8ec368f13eaf1a 1 parent 0d84b26
@gagle authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/read.js
View
2  lib/read.js
@@ -109,7 +109,7 @@ var namespace = function (p, key, value){
p[str] = {};
}else if (typeof p[str] !== "object"){
return new Error ("Invalid namespace chain, the key must contain an " +
- "object: " + str);
+ "object: " + key);
}
p = p[str];
}
Please sign in to comment.
Something went wrong with that request. Please try again.