mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-17 03:51:21 +02:00
Give a trace on all logs if debug level is 5 to help track things down
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user