mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
don't scare people #693
This commit is contained in:
@@ -36,7 +36,7 @@ function connectToRenderer(): TPromise<IRendererConnection> {
|
||||
process.on('unhandledRejection', function(reason, promise) {
|
||||
// 'promise' seems to be undefined all the time and
|
||||
// that's why we cannot use the rejectionhandled event
|
||||
console.error('potentially unhandled rejected promise', promise);
|
||||
console.warn('potentially unhandled rejected promise', promise);
|
||||
onUnexpectedError(reason);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user