mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-14 11:17: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(' - ');
|
].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;
|
||||||
|
Loading…
Reference in New Issue
Block a user