mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Disable error chatch
This commit is contained in:
parent
aee814ffa7
commit
8eb84ce7b3
@ -79,13 +79,13 @@ if (core.Utils.isDefined(window.LoggerService))
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Handle error events ...
|
//// Handle error events ...
|
||||||
window.onerror = function(sMsg, sUrl, sLine)
|
//window.onerror = function(sMsg, sUrl, sLine)
|
||||||
{
|
//{
|
||||||
window.hasUnexpectedErrors = true;
|
// window.hasUnexpectedErrors = true;
|
||||||
var msg = sMsg + ' (' + sUrl + ', line ' + sLine + ')';
|
// var msg = sMsg + ' (' + sUrl + ', line ' + sLine + ')';
|
||||||
wLogger.fatal(msg);
|
// wLogger.fatal(msg);
|
||||||
|
//
|
||||||
$(window).fireEvent("error",null,0);
|
// $(window).fireEvent("error",null,0);
|
||||||
return false;
|
// return false;
|
||||||
};
|
//};
|
Loading…
Reference in New Issue
Block a user