From 8383050186d87bc1a415b3f8cbcc040362a7b638 Mon Sep 17 00:00:00 2001 From: isidor Date: Thu, 19 Apr 2018 12:09:31 +0200 Subject: [PATCH] debug: report error for postDebugTask fixes #46659 --- src/vs/workbench/parts/debug/electron-browser/debugService.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/parts/debug/electron-browser/debugService.ts b/src/vs/workbench/parts/debug/electron-browser/debugService.ts index fdd564ef76b..73d419154b0 100644 --- a/src/vs/workbench/parts/debug/electron-browser/debugService.ts +++ b/src/vs/workbench/parts/debug/electron-browser/debugService.ts @@ -1144,7 +1144,9 @@ export class DebugService implements debug.IDebugService { process.inactive = true; this._onDidEndProcess.fire(process); if (process.configuration.postDebugTask) { - this.runTask(process.getId(), process.session.root, process.configuration.postDebugTask); + this.runTask(process.getId(), process.session.root, process.configuration.postDebugTask).done(undefined, err => + this.notificationService.error(err) + ); } } -- GitLab