mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 09:58:39 +00:00
20 lines
443 B
JavaScript
20 lines
443 B
JavaScript
/**
|
|
* Unhandled Exception class.
|
|
*
|
|
* This class handles all unhandled exceptions depending on the configuration.
|
|
*
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @since 1.0.0
|
|
*/
|
|
(function ()
|
|
{
|
|
"use strict";
|
|
window.addEventListener('error', function (e)
|
|
{
|
|
jsOMS.Log.Logger.instance.error(e.error);
|
|
|
|
return false;
|
|
});
|
|
}(window.jsOMS = window.jsOMS || {})); |