More detailed error messages

This commit is contained in:
Nathan Gray 2012-03-07 22:55:02 +00:00
parent ebe229e885
commit 9a0948f6fb
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ var et2_arrayMgr = Class.extend({
// Hold a reference to the data
if (typeof _data == "undefined" || !_data)
{
egw.debug("error", "Invalid data passed to content array manager!");
egw.debug("error", "No data passed to content array manager!");
_data = {};
}

View File

@ -196,7 +196,7 @@ function et2_checkType(_val, _type, _attr, _cname)
}
// We should never come here
throw("Invalid type identifier supplied.");
throw("Invalid type identifier '" + _attr + ": " + _type + "' supplied by '" + _cname + "'");
}
/**