mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-07 17:23:56 -05:00
Merge from vscode 2f984aad710215f4e4684a035bb02f55d1a9e2cc (#9819)
This commit is contained in:
2
src/bootstrap-fork.js
vendored
2
src/bootstrap-fork.js
vendored
@@ -142,13 +142,11 @@ function pipeLoggingToParent() {
|
||||
function handleExceptions() {
|
||||
|
||||
// Handle uncaught exceptions
|
||||
// @ts-ignore
|
||||
process.on('uncaughtException', function (err) {
|
||||
console.error('Uncaught Exception: ', err);
|
||||
});
|
||||
|
||||
// Handle unhandled promise rejections
|
||||
// @ts-ignore
|
||||
process.on('unhandledRejection', function (reason) {
|
||||
console.error('Unhandled Promise Rejection: ', reason);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user