Skip to content

Commit a077f4b

Browse files
committed
fix: address review comments - translate Catalan error message and add debug logging
1 parent 1b4ecce commit a077f4b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,6 +1347,9 @@ export class ClineProvider
13471347
const { historyItem } = await this.getTaskWithId(id)
13481348
await this.initClineWithHistoryItem(historyItem) // Clears existing task.
13491349
} catch (error) {
1350+
// Log the error for debugging purposes
1351+
this.log(`Failed to load task ${id}: ${error instanceof Error ? error.message : String(error)}`)
1352+
13501353
// Task not found or corrupt - it has already been deleted from state by getTaskWithId
13511354
vscode.window.showErrorMessage(t("common:errors.task_corrupt_deleted"))
13521355
// Refresh the webview to update the task list

src/i18n/locales/ca/common.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)