Disable custom error handling

This commit is contained in:
Paulo Gustavo Veiga 2022-02-12 10:51:57 -08:00
parent 1ce10efc53
commit 612cfda342

View File

@ -46,7 +46,6 @@ export function buildDesigner(options: DesignerOptions): Designer {
].join(' - '); ].join(' - ');
console.error(message); console.error(message);
alert(error.stack);
// Send error to server ... // Send error to server ...
$.ajax({ $.ajax({
method: 'post', method: 'post',
@ -66,7 +65,7 @@ export function buildDesigner(options: DesignerOptions): Designer {
$notifyModal($msg('UNEXPECTED_ERROR_LOADING')); $notifyModal($msg('UNEXPECTED_ERROR_LOADING'));
} }
}; };
window.onerror = onerrorFn; // window.onerror = onerrorFn;
// Configure default persistence manager ... // Configure default persistence manager ...
const persistence = options.persistenceManager; const persistence = options.persistenceManager;