* Improve error message on invalid _prototype value as suggested
by Juerg Lehni on helma-user
This commit is contained in:
parent
b67a171983
commit
6514226078
1 changed files with 3 additions and 2 deletions
|
@ -1681,8 +1681,9 @@ public final class NodeManager {
|
||||||
|
|
||||||
if (dbmap == null) {
|
if (dbmap == null) {
|
||||||
// invalid prototype name!
|
// invalid prototype name!
|
||||||
app.logError("Warning: Invalid prototype name: " + protoName +
|
app.logError("No prototype defined for prototype mapping \""
|
||||||
" - using default");
|
+ protoName + "\" - Using default prototype \""
|
||||||
|
+ dbm.getTypeName() + "\".");
|
||||||
dbmap = dbm;
|
dbmap = dbm;
|
||||||
protoName = dbmap.getTypeName();
|
protoName = dbmap.getTypeName();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue