fix: graceful degradation in handle_create_pr_error when API calls fail
#19683
+177
−42
handle_create_pr_error when API calls fail
#19683