mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
More informative error message - include wrong value and possible correct options
This commit is contained in:
parent
04fe78762f
commit
8bc924699f
@ -249,8 +249,8 @@ console.debug(_attrib);
|
||||
{
|
||||
if (et2_validTypes.indexOf(_attrib["type"]) < 0)
|
||||
{
|
||||
egw.debug("error", "Invalid type for attribute '" + _id +
|
||||
"' supplied.");
|
||||
egw.debug("error", "Invalid type '" + _attrib["type"] + "' for attribute '" + _id +
|
||||
"' supplied. Valid types are ", et2_validTypes);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user