mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-13 02:37:57 +01:00
Disable custom error handling
This commit is contained in:
parent
1ce10efc53
commit
612cfda342
@ -46,7 +46,6 @@ export function buildDesigner(options: DesignerOptions): Designer {
|
||||
].join(' - ');
|
||||
console.error(message);
|
||||
|
||||
alert(error.stack);
|
||||
// Send error to server ...
|
||||
$.ajax({
|
||||
method: 'post',
|
||||
@ -66,7 +65,7 @@ export function buildDesigner(options: DesignerOptions): Designer {
|
||||
$notifyModal($msg('UNEXPECTED_ERROR_LOADING'));
|
||||
}
|
||||
};
|
||||
window.onerror = onerrorFn;
|
||||
// window.onerror = onerrorFn;
|
||||
|
||||
// Configure default persistence manager ...
|
||||
const persistence = options.persistenceManager;
|
||||
|
Loading…
Reference in New Issue
Block a user