forked from extern/egroupware
More detailed error messages
This commit is contained in:
parent
ebe229e885
commit
9a0948f6fb
@ -35,7 +35,7 @@ var et2_arrayMgr = Class.extend({
|
|||||||
// Hold a reference to the data
|
// Hold a reference to the data
|
||||||
if (typeof _data == "undefined" || !_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 = {};
|
_data = {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -196,7 +196,7 @@ function et2_checkType(_val, _type, _attr, _cname)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// We should never come here
|
// We should never come here
|
||||||
throw("Invalid type identifier supplied.");
|
throw("Invalid type identifier '" + _attr + ": " + _type + "' supplied by '" + _cname + "'");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user