From 7bd9146ad1c01c649cb23540e4657d625cbb18a3 Mon Sep 17 00:00:00 2001 From: iCrawl Date: Thu, 23 Nov 2017 17:41:50 +0100 Subject: [PATCH] fix: remove rejection handler --- .vscodeignore | 9 +++++++++ src/extension.ts | 2 -- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .vscodeignore diff --git a/.vscodeignore b/.vscodeignore new file mode 100644 index 0000000..ae2e23b --- /dev/null +++ b/.vscodeignore @@ -0,0 +1,9 @@ +.vscode/** +.vscode-test/** +test/** +.gitattributes +.gitignore +*.md +tsconfig.json +tslint.json +yarn.lock diff --git a/src/extension.ts b/src/extension.ts index 105085c..dec4982 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -33,5 +33,3 @@ function setActivity(rpc: Client): void { window.showErrorMessage(`DiscordRPC: ${error.message}`) ); } - -process.on('unhandledRejection', err => console.error(err));