Add subtasks to the PR

Change-Id: I386be06949a54dee518e9b6a23344d76099b88ba
diff --git a/server/git/github.go b/server/git/github.go
index 8f15c68..63424f1 100644
--- a/server/git/github.go
+++ b/server/git/github.go
@@ -123,7 +123,12 @@
 		return nil, fmt.Errorf("failed to marshal request body: %w", err)
 	}
 
+	// Debug logging for request data
+	fmt.Printf("DEBUG: Creating PR with data: %s\n", string(jsonBody))
+
 	url := fmt.Sprintf("%s/repos/%s/%s/pulls", g.config.BaseURL, g.owner, g.repo)
+	fmt.Printf("DEBUG: POST URL: %s\n", url)
+	
 	req, err := http.NewRequestWithContext(ctx, "POST", url, bytes.NewBuffer(jsonBody))
 	if err != nil {
 		return nil, fmt.Errorf("failed to create request: %w", err)
@@ -140,7 +145,10 @@
 	defer resp.Body.Close()
 
 	if resp.StatusCode != http.StatusCreated {
-		return nil, fmt.Errorf("GitHub API error: %d", resp.StatusCode)
+		// Read the error response body for detailed error information
+		var errorBody bytes.Buffer
+		_, _ = errorBody.ReadFrom(resp.Body)
+		return nil, fmt.Errorf("GitHub API error: %d - %s", resp.StatusCode, errorBody.String())
 	}
 
 	var githubPR githubPullRequest