Removes unnecessary error notification

The Notice was removed because the error is already being logged to the console and re-thrown.
This commit is contained in:
AlexKucera committed 2025-09-26 08:19:54 +02:00
1 parent 9249897d27
commit d7497c1259
1 file changed
-1
-1
View File
@@ -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');