mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Give a trace on all logs if debug level is 5 to help track things down
This commit is contained in:
parent
c0e0982b0e
commit
8834d86818
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user