From 0a19745c239fed7c8470b8575fb55a550a3f430c Mon Sep 17 00:00:00 2001 From: sam hoang Date: Mon, 27 Jan 2025 21:28:58 +0700 Subject: [PATCH] fix pr comment --- src/core/webview/ClineProvider.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index 0d4b7f6..77e8721 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -43,7 +43,6 @@ import { CustomModesManager } from "../config/CustomModesManager" import { CustomSupportPrompts, supportPrompt } from "../../shared/support-prompt" import { ACTION_NAMES } from "../CodeActionProvider" -import { error } from "console" /* https://github.com/microsoft/vscode-webview-ui-toolkit-samples/blob/main/default/weather-webview/src/providers/WeatherViewProvider.ts @@ -668,7 +667,7 @@ export class ClineProvider implements vscode.WebviewViewProvider { this.cline.abortTask() await pWaitFor(() => this.cline === undefined || this.cline.didFinishAborting, { timeout: 3_000, - }).catch(() => { + }).catch((error) => { this.outputChannel.appendLine( `Failed to abort task ${JSON.stringify(error, Object.getOwnPropertyNames(error), 2)}`, )