fix: tui not showing err toasts (#2290)

This commit is contained in:
Aiden Cline
2025-08-28 10:55:47 -05:00
committed by GitHub
parent aa9ab0a304
commit 37cf262094
3 changed files with 8 additions and 8 deletions

View File

@@ -826,7 +826,7 @@ func (a *App) SendCommand(ctx context.Context, command string, args string) (*Ap
)
if err != nil {
slog.Error("Failed to execute command", "error", err)
return toast.NewErrorToast("Failed to execute command")
return toast.NewErrorToast("Failed to execute command")()
}
return nil
})