From d7497c125942d1db3ea787473e77bd7450007bf0 Mon Sep 17 00:00:00 2001 From: Alexander Kucera Date: Fri, 26 Sep 2025 08:19:54 +0200 Subject: [PATCH] Removes unnecessary error notification The Notice was removed because the error is already being logged to the console and re-thrown. --- api/anthropicClient.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/api/anthropicClient.ts b/api/anthropicClient.ts index 431682a..9027771 100644 --- a/api/anthropicClient.ts +++ b/api/anthropicClient.ts @@ -50,7 +50,6 @@ export class AnthropicClient { } catch (error) { console.error('Error generating prompts:', error); if (error instanceof Error) { - new Notice(`Failed to generate prompts: ${error.message}`); throw error; } throw new Error('Unknown error occurred while generating prompts');