mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 01:25:36 -05:00
Merge from vscode e3c4990c67c40213af168300d1cfeb71d680f877 (#16569)
This commit is contained in:
@@ -170,6 +170,7 @@ function main() {
|
||||
|
||||
// replace the default unexpected error handler to be useful during tests
|
||||
loader(['vs/base/common/errors'], function (errors) {
|
||||
// {{SQL CARBON EDIT}}
|
||||
global.window.addEventListener('unhandledrejection', event => {
|
||||
errors.onUnexpectedError(event.reason);
|
||||
event.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user