mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 01:25:36 -05:00
Properly expose errors in ads and tests (#8692)
* add code to expose errors outside zone * remove unexpect error hiding * remove uncessary code * fix tests * trying to catch more errros * revert for testing * wip * wip * figured out what was going on * wip * fix tests * fix tests
This commit is contained in:
@@ -22,4 +22,7 @@ define(["require", "exports"], function (require) {
|
||||
require.__$__nodeRequire('zone.js/dist/zone-error');
|
||||
require.__$__nodeRequire('chart.js');
|
||||
window["Zone"]["__zone_symbol__ignoreConsoleErrorUncaughtError"] = true;
|
||||
window["Zone"]["__zone_symbol__unhandledPromiseRejectionHandler"] = e => setImmediate(() => {
|
||||
window.dispatchEvent(new PromiseRejectionEvent('unhandledrejection', e));
|
||||
}); // let window handle this
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user