From 7fd7eb97baea56eeedec416be146aa33bc6aa2e4 Mon Sep 17 00:00:00 2001 From: Johannes Date: Mon, 30 Jan 2023 21:31:35 +0100 Subject: [PATCH] fix error logging when willSave is aborted https://github.com/microsoft/vscode/issues/164841 --- .../services/textfile/common/textFileSaveParticipant.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/services/textfile/common/textFileSaveParticipant.ts b/src/vs/workbench/services/textfile/common/textFileSaveParticipant.ts index a1adea6a4b06c..ab3cb0a0e8a69 100644 --- a/src/vs/workbench/services/textfile/common/textFileSaveParticipant.ts +++ b/src/vs/workbench/services/textfile/common/textFileSaveParticipant.ts @@ -52,7 +52,7 @@ export class TextFileSaveParticipant extends Disposable { const promise = saveParticipant.participate(model, context, progress, cts.token); await raceCancellation(promise, cts.token); } catch (err) { - this.logService.warn(err); + this.logService.error(err); } }