Permalink
Browse files

Better error message

  • Loading branch information...
1 parent cdd6b41 commit bee26437902a83b1c81a908c7a6ac7d7012af682 @kriszyp committed Jan 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/nodules.js
View
@@ -555,7 +555,7 @@ exports.load = function(uri, require){
var source = protocolLoader(uri);
return when(source, function(source){
if(!source){
- throw new Error("Not found");
+ throw new Error("Not found " + uri);
}
// check for source defined package URI
var packageUri = source.match(/package root: (\w+:.*)/);

0 comments on commit bee2643

Please sign in to comment.