Permalink
Browse files

Merge pull request #84 from MarkMYoung/patch-1

Added name of Entity to log message on line 462.
  • Loading branch information...
zefhemel committed Mar 22, 2012
2 parents 90f0a75 + a4ab352 commit e549acfc88ea8aeb18e44c471c62db6557c75215
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/persistence.js
View
@@ -459,7 +459,7 @@ persistence.get = function(arg1, arg2) {
that._data_obj[ref] = session.trackedObjects[that._data[ref]];
return that._data_obj[ref];
} else {
- throw new Error("Property '" + ref + "' with id: " + that._data[ref] + " not fetched, either prefetch it or fetch it manually.");
+ throw new Error("Property '" + ref + "' of '" + meta.name + "' with id: " + that._data[ref] + " not fetched, either prefetch it or fetch it manually.");
}
});
}());

0 comments on commit e549acf

Please sign in to comment.