diff --git a/services/cleanupService.ts b/services/cleanupService.ts index e41a05a..68fdf08 100644 --- a/services/cleanupService.ts +++ b/services/cleanupService.ts @@ -91,8 +91,7 @@ export class CleanupService { return result; } catch (error) { - const errorMessage = error instanceof Error ? error.message : 'Unknown error occurred'; - new Notice(`Text cleanup failed: ${errorMessage}`); + // Let the command layer handle user feedback to avoid duplicate notices throw error; } }