Give a trace on all logs if debug level is 5 to help track things down

This commit is contained in:
Nathan Gray 2013-04-10 14:14:06 +00:00
parent c0e0982b0e
commit 8834d86818

View File

@ -42,7 +42,7 @@ egw.extend('debug', egw.MODULE_GLOBAL, function(_app, _wnd) {
}
// Add in a trace
if (DEBUGLEVEL >= 5 && (_level == "warn" || _level == "error") && typeof (new Error).stack != "undefined")
if (DEBUGLEVEL >= 5 && typeof (new Error).stack != "undefined")
{
var stack = (new Error).stack;
args.push(stack);