This commit is contained in:
Ralf Becker 2014-10-01 10:37:52 +00:00
parent 22a5189783
commit dbca9f2008

View File

@ -357,7 +357,7 @@ egw.extend('debug', egw.MODULE_GLOBAL, function(_app, _wnd) {
}
}
// raise errors to user, if LOCAL_LOG_LEVEL > 0
if (LOCAL_LOG_LEVEL_level == "error") raise_error(args);
if (LOCAL_LOG_LEVEL && _level == "error") raise_error(args);
// log to html5 localStorage
if (typeof stack != 'undefined') args.pop(); // remove stacktrace again