jsOMS/UnhandledException.js
Dennis Eichhorn 7b75ec58f7
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled
fix permissions
2025-04-02 14:15:07 +00:00

24 lines
492 B
JavaScript

/**
* Unhandled Exception class.
*
* This class handles all unhandled exceptions depending on the configuration.
*
* @copyright Dennis Eichhorn
* @license OMS License 2.2
* @version 1.0.0
* @since 1.0.0
*/
(function ()
{
'use strict';
/** @type {Error} e */
window.addEventListener('error', function (e)
{
/** global: jsOMS */
// jsOMS.Log.Logger.instance.error(e.error);
return false;
});
}(window.jsOMS = window.jsOMS || {}));