Improve error message to make sure we get the error message

This commit is contained in:
Nathan Gray 2013-10-10 12:32:34 +00:00
parent eda4d2a3f6
commit 22b5ed587f

View File

@ -747,7 +747,7 @@ var et2_widget = Class.extend(
}
catch (e)
{
egw.debug("error", "There was an error with a widget:\nError:%o\nProblem widget:%o",e.message,this._children[i],e.stack);
egw.debug("error", "There was an error with a widget:\nError:%o\nProblem widget:%o",e.valueOf(),this._children[i],e.stack);
}
}
}