Skip to content

Conversation

@TooTallNate
Copy link
Member

@TooTallNate TooTallNate commented Dec 18, 2025

Enhanced error debugging for server response validation in the Vercel world package.

What changed?

  • Improved error handling in the makeRequest function:
    • Created a separate Request object for better error reporting
    • Captured the response text before attempting to parse it
    • Enhanced error messages to include the response body when validation fails
    • Simplified error handling by removing the specific ZodError case

How to test?

  1. Make a request that returns an invalid response format
  2. Check the error message in the console, which should now include:
    • The HTTP method and endpoint
    • The detailed error message
    • The full response body for debugging

Why make this change?

This change makes it easier to debug issues when the server returns responses that don't match the expected schema. By including the full response body in the error message, developers can more quickly identify what's wrong with the response format without needing additional debugging steps.

@changeset-bot
Copy link

changeset-bot bot commented Dec 18, 2025

🦋 Changeset detected

Latest commit: 709e0e2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 13 packages
Name Type
@workflow/world-vercel Patch
@workflow/cli Patch
@workflow/core Patch
workflow Patch
@workflow/world-testing Patch
@workflow/builders Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/web-shared Patch
@workflow/ai Patch
@workflow/astro Patch
@workflow/sveltekit Patch
@workflow/nuxt Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Contributor

vercel bot commented Dec 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview, Comment Dec 18, 2025 9:55pm
example-nextjs-workflow-webpack Ready Ready Preview, Comment Dec 18, 2025 9:55pm
example-workflow Ready Ready Preview, Comment Dec 18, 2025 9:55pm
workbench-astro-workflow Ready Ready Preview, Comment Dec 18, 2025 9:55pm
workbench-express-workflow Ready Ready Preview, Comment Dec 18, 2025 9:55pm
workbench-fastify-workflow Ready Ready Preview, Comment Dec 18, 2025 9:55pm
workbench-hono-workflow Ready Ready Preview, Comment Dec 18, 2025 9:55pm
workbench-nitro-workflow Ready Ready Preview, Comment Dec 18, 2025 9:55pm
workbench-nuxt-workflow Ready Ready Preview, Comment Dec 18, 2025 9:55pm
workbench-sveltekit-workflow Ready Ready Preview, Comment Dec 18, 2025 9:55pm
workbench-vite-workflow Ready Ready Preview, Comment Dec 18, 2025 9:55pm
workflow-docs Ready Ready Preview, Comment Dec 18, 2025 9:55pm

@github-actions
Copy link
Contributor

github-actions bot commented Dec 18, 2025

🧪 E2E Test Results

Some tests failed

Summary

Passed Failed Skipped Total
✅ ▲ Vercel Production 286 0 11 297
✅ 💻 Local Development 262 0 8 270
✅ 📦 Local Production 262 0 8 270
✅ 🐘 Local Postgres 262 0 8 270
✅ 🪟 Windows 27 0 0 27
❌ 🌍 Community Worlds 109 11 0 120
Total 1208 11 35 1254

❌ Failed Tests

🌍 Community Worlds (11 failed)

mongodb (1 failed):

  • webhookWorkflow

redis (1 failed):

  • webhookWorkflow

starter (8 failed):

  • addTenWorkflow
  • addTenWorkflow
  • retryAttemptCounterWorkflow
  • crossFileErrorWorkflow - stack traces work across imported modules
  • hookCleanupTestWorkflow - hook token reuse after workflow completion
  • stepFunctionPassingWorkflow - step function references can be passed as arguments (without closure vars)
  • stepFunctionWithClosureWorkflow - step function with closure variables passed as argument
  • spawnWorkflowFromStepWorkflow - spawning a child workflow using start() inside a step

turso (1 failed):

  • webhookWorkflow

Details by Category

✅ ▲ Vercel Production
App Passed Failed Skipped
✅ astro 26 0 1
✅ example 26 0 1
✅ express 26 0 1
✅ fastify 26 0 1
✅ hono 26 0 1
✅ nextjs-turbopack 26 0 1
✅ nextjs-webpack 26 0 1
✅ nitro 26 0 1
✅ nuxt 26 0 1
✅ sveltekit 26 0 1
✅ vite 26 0 1
✅ 💻 Local Development
App Passed Failed Skipped
✅ astro-stable 26 0 1
✅ express-stable 26 0 1
✅ fastify-stable 26 0 1
✅ hono-stable 26 0 1
✅ nextjs-turbopack-stable 27 0 0
✅ nextjs-webpack-stable 27 0 0
✅ nitro-stable 26 0 1
✅ nuxt-stable 26 0 1
✅ sveltekit-stable 26 0 1
✅ vite-stable 26 0 1
✅ 📦 Local Production
App Passed Failed Skipped
✅ astro-stable 26 0 1
✅ express-stable 26 0 1
✅ fastify-stable 26 0 1
✅ hono-stable 26 0 1
✅ nextjs-turbopack-stable 27 0 0
✅ nextjs-webpack-stable 27 0 0
✅ nitro-stable 26 0 1
✅ nuxt-stable 26 0 1
✅ sveltekit-stable 26 0 1
✅ vite-stable 26 0 1
✅ 🐘 Local Postgres
App Passed Failed Skipped
✅ astro-stable 26 0 1
✅ express-stable 26 0 1
✅ fastify-stable 26 0 1
✅ hono-stable 26 0 1
✅ nextjs-turbopack-stable 27 0 0
✅ nextjs-webpack-stable 27 0 0
✅ nitro-stable 26 0 1
✅ nuxt-stable 26 0 1
✅ sveltekit-stable 26 0 1
✅ vite-stable 26 0 1
✅ 🪟 Windows
App Passed Failed Skipped
✅ nextjs-turbopack 27 0 0
❌ 🌍 Community Worlds
App Passed Failed Skipped
✅ mongodb-dev 3 0 0
❌ mongodb 26 1 0
✅ redis-dev 3 0 0
❌ redis 26 1 0
✅ starter-dev 3 0 0
❌ starter 19 8 0
✅ turso-dev 3 0 0
❌ turso 26 1 0

📋 View full workflow run

@github-actions
Copy link
Contributor

github-actions bot commented Dec 18, 2025

📊 Benchmark Results

📈 Comparing against baseline from main branch. Green 🟢 = faster, Red 🔺 = slower.

workflow with no steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 0.037s (-4.8%) 1.014s (~) 0.976s 10 1.00x
💻 Local Next.js (Turbopack) 0.040s (-2.0%) 1.017s (~) 0.977s 10 1.07x
💻 Local Nitro 0.043s (+1.2%) 1.007s (~) 0.964s 10 1.14x
💻 Local Express 0.043s (~) 1.007s (~) 0.964s 10 1.16x
🌐 Redis Next.js (Turbopack) 0.043s (+4.1%) 1.018s (~) 0.974s 10 1.16x
🌐 MongoDB Next.js (Turbopack) 0.052s (-32.9% 🟢) 1.014s (~) 0.962s 10 1.40x
🌐 Turso Next.js (Turbopack) 0.108s (+3.5%) 1.014s (~) 0.906s 10 2.88x
🐘 Postgres Next.js (Turbopack) 0.190s (+68.7% 🔺) 1.021s (~) 0.831s 10 5.07x
🐘 Postgres Nitro 0.191s (-42.4% 🟢) 1.029s (~) 0.838s 10 5.10x
🐘 Postgres Express 0.347s (+3.3%) 1.012s (~) 0.665s 10 9.29x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 0.539s (-38.4% 🟢) 1.452s (-20.0% 🟢) 0.912s 10 1.00x
▲ Vercel Nitro 0.575s (+15.3% 🔺) 1.448s (+4.7%) 0.873s 10 1.07x
▲ Vercel Express 0.596s (-9.7% 🟢) 1.606s (-21.0% 🟢) 1.010s 10 1.10x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

workflow with 1 step

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.080s (-1.1%) 2.012s (~) 0.932s 10 1.00x
💻 Local Next.js (Turbopack) 1.097s (~) 2.012s (~) 0.914s 10 1.02x
🌐 Redis Next.js (Turbopack) 1.100s (~) 2.014s (~) 0.914s 10 1.02x
💻 Local Express 1.112s (~) 2.007s (~) 0.895s 10 1.03x
💻 Local Nitro 1.116s (+0.5%) 2.006s (~) 0.890s 10 1.03x
🌐 MongoDB Next.js (Turbopack) 1.288s (-1.5%) 2.012s (~) 0.724s 10 1.19x
🌐 Turso Next.js (Turbopack) 1.310s (+0.9%) 2.012s (~) 0.702s 10 1.21x
🐘 Postgres Next.js (Turbopack) 2.042s (-16.3% 🟢) 2.317s (-23.2% 🟢) 0.275s 10 1.89x
🐘 Postgres Express 2.196s (~) 3.015s (~) 0.818s 10 2.03x
🐘 Postgres Nitro 2.438s (-0.6%) 3.015s (~) 0.577s 10 2.26x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.581s (-0.6%) 3.587s (+2.0%) 1.006s 10 1.00x
▲ Vercel Nitro 2.659s (-2.3%) 3.528s (~) 0.869s 10 1.03x
▲ Vercel Express 2.677s (+1.2%) 3.663s (+0.9%) 0.986s 10 1.04x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

workflow with 10 sequential steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 10.603s (~) 11.012s (~) 0.409s 5 1.00x
💻 Local Next.js (Turbopack) 10.643s (~) 11.018s (~) 0.375s 5 1.00x
🌐 Redis Next.js (Turbopack) 10.695s (~) 11.018s (~) 0.323s 5 1.01x
💻 Local Express 10.787s (~) 11.013s (~) 0.226s 5 1.02x
💻 Local Nitro 10.788s (~) 11.012s (~) 0.223s 5 1.02x
🌐 MongoDB Next.js (Turbopack) 12.208s (-0.8%) 13.023s (~) 0.815s 5 1.15x
🌐 Turso Next.js (Turbopack) 12.222s (~) 13.027s (~) 0.805s 5 1.15x
🐘 Postgres Next.js (Turbopack) 15.242s (-24.8% 🟢) 16.031s (-23.8% 🟢) 0.788s 5 1.44x
🐘 Postgres Nitro 20.305s (~) 21.040s (~) 0.735s 5 1.92x
🐘 Postgres Express 20.356s (~) 21.032s (~) 0.676s 5 1.92x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Nitro 21.551s (~) 22.449s (+0.6%) 0.898s 5 1.00x
▲ Vercel Next.js (Turbopack) 21.645s (-5.2% 🟢) 22.170s (-6.3% 🟢) 0.524s 5 1.00x
▲ Vercel Express 22.750s (+5.0%) 23.636s (+5.4% 🔺) 0.886s 5 1.06x

🔍 Observability: Nitro | Next.js (Turbopack) | Express

Promise.all with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.350s (~) 2.008s (~) 0.658s 15 1.00x
🌐 Redis Next.js (Turbopack) 1.383s (+2.0%) 2.011s (~) 0.628s 15 1.02x
💻 Local Nitro 1.400s (~) 2.005s (~) 0.605s 15 1.04x
💻 Local Next.js (Turbopack) 1.401s (+1.7%) 2.011s (~) 0.610s 15 1.04x
💻 Local Express 1.412s (-0.5%) 2.006s (~) 0.594s 15 1.05x
🐘 Postgres Next.js (Turbopack) 1.987s (-21.8% 🟢) 2.405s (-20.2% 🟢) 0.418s 13 1.47x
🌐 MongoDB Next.js (Turbopack) 2.114s (-2.0%) 3.016s (~) 0.902s 10 1.57x
🌐 Turso Next.js (Turbopack) 2.228s (+2.0%) 3.013s (~) 0.785s 10 1.65x
🐘 Postgres Express 2.456s (-1.5%) 3.012s (~) 0.556s 10 1.82x
🐘 Postgres Nitro 2.670s (+0.8%) 3.014s (~) 0.345s 10 1.98x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.290s (+16.9% 🔺) 4.317s (+14.7% 🔺) 1.028s 8 1.00x
▲ Vercel Next.js (Turbopack) 9.668s (+241.1% 🔺) 10.469s (+185.6% 🔺) 0.801s 3 2.94x
▲ Vercel Nitro 10.037s (+261.6% 🔺) 10.683s (+190.8% 🔺) 0.646s 3 3.05x

🔍 Observability: Express | Next.js (Turbopack) | Nitro

Promise.all with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 2.151s (+2.9%) 3.035s (+3.0%) 0.884s 10 1.00x
💻 Local Nitro 2.177s (-1.1%) 3.148s (~) 0.971s 10 1.01x
💻 Local Express 2.235s (-1.0%) 3.184s (-0.5%) 0.949s 10 1.04x
🌐 Starter Next.js (Turbopack) 2.447s (~) 3.009s (~) 0.562s 10 1.14x
🌐 Redis Next.js (Turbopack) 2.510s (+0.8%) 3.019s (~) 0.509s 10 1.17x
🐘 Postgres Next.js (Turbopack) 2.637s (-3.2%) 3.021s (~) 0.384s 10 1.23x
🐘 Postgres Express 2.859s (-2.5%) 3.012s (-3.2%) 0.153s 10 1.33x
🐘 Postgres Nitro 2.961s (-1.8%) 3.113s (-13.0% 🟢) 0.151s 10 1.38x
🌐 Turso Next.js (Turbopack) 4.729s (+1.3%) 5.185s (~) 0.456s 6 2.20x
🌐 MongoDB Next.js (Turbopack) 4.782s (+2.8%) 5.185s (~) 0.403s 6 2.22x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.984s (-23.1% 🟢) 3.770s (-21.4% 🟢) 0.786s 8 1.00x
▲ Vercel Nitro 4.269s (+10.2% 🔺) 5.033s (+13.4% 🔺) 0.764s 6 1.43x
▲ Vercel Next.js (Turbopack) 4.826s (+37.7% 🔺) 5.397s (+32.4% 🔺) 0.570s 6 1.62x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 10 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 1.354s (-1.5%) 2.007s (~) 0.653s 15 1.00x
🌐 Redis Next.js (Turbopack) 1.393s (+1.2%) 2.012s (~) 0.618s 15 1.03x
💻 Local Next.js (Turbopack) 1.408s (+1.5%) 2.013s (~) 0.606s 15 1.04x
💻 Local Nitro 1.409s (+0.5%) 2.005s (~) 0.596s 15 1.04x
💻 Local Express 1.431s (~) 2.006s (~) 0.576s 15 1.06x
🐘 Postgres Express 1.686s (-20.9% 🟢) 2.011s (-31.3% 🟢) 0.325s 15 1.25x
🐘 Postgres Next.js (Turbopack) 1.722s (+4.5%) 2.012s (~) 0.290s 15 1.27x
🐘 Postgres Nitro 1.988s (+6.9% 🔺) 2.597s (+29.3% 🔺) 0.609s 12 1.47x
🌐 MongoDB Next.js (Turbopack) 2.144s (+0.8%) 3.012s (~) 0.867s 10 1.58x
🌐 Turso Next.js (Turbopack) 2.225s (~) 3.013s (~) 0.788s 10 1.64x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 2.650s (-1.3%) 3.679s (~) 1.029s 9 1.00x
▲ Vercel Nitro 2.653s (+1.0%) 3.649s (+1.1%) 0.996s 9 1.00x
▲ Vercel Next.js (Turbopack) 2.849s (+7.5% 🔺) 3.685s (+2.3%) 0.836s 9 1.08x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Promise.race with 25 concurrent steps

💻 Local Development

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
💻 Local 🥇 Next.js (Turbopack) 2.125s (+3.9%) 3.008s (+4.4%) 0.883s 11 1.00x
💻 Local Nitro 2.237s (+1.9%) 3.201s (+2.1%) 0.964s 10 1.05x
💻 Local Express 2.279s (-1.4%) 3.205s (-1.5%) 0.926s 10 1.07x
🌐 Starter Next.js (Turbopack) 2.464s (~) 3.011s (~) 0.547s 10 1.16x
🌐 Redis Next.js (Turbopack) 2.538s (+1.8%) 3.024s (~) 0.487s 10 1.19x
🐘 Postgres Next.js (Turbopack) 2.661s (+6.2% 🔺) 3.020s (~) 0.359s 10 1.25x
🐘 Postgres Express 2.739s (-7.1% 🟢) 3.016s (-6.4% 🟢) 0.277s 10 1.29x
🐘 Postgres Nitro 2.878s (+10.9% 🔺) 3.466s (+14.6% 🔺) 0.588s 9 1.35x
🌐 Turso Next.js (Turbopack) 4.787s (+2.7%) 5.185s (~) 0.398s 6 2.25x
🌐 MongoDB Next.js (Turbopack) 4.812s (+1.3%) 5.179s (~) 0.367s 6 2.26x

▲ Production (Vercel)

World Framework Workflow Time Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Express 3.186s (-1.3%) 3.857s (-1.4%) 0.671s 8 1.00x
▲ Vercel Nitro 3.309s (-7.3% 🟢) 3.880s (-6.2% 🟢) 0.571s 8 1.04x
▲ Vercel Next.js (Turbopack) 3.477s (+7.2% 🔺) 4.009s (+6.9% 🔺) 0.532s 8 1.09x

🔍 Observability: Express | Nitro | Next.js (Turbopack)

Stream Benchmarks (includes TTFB metrics)
workflow with stream

💻 Local Development

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
🌐 Starter 🥇 Next.js (Turbopack) 0.136s (+9.3% 🔺) 1.006s (~) 0.000s (NaN%) 1.012s (~) 0.877s 10 1.00x
💻 Local Next.js (Turbopack) 0.142s (+1.4%) 1.003s (~) 0.019s (+24.5% 🔺) 1.031s (~) 0.889s 10 1.04x
🌐 Redis Next.js (Turbopack) 0.157s (~) 1.005s (~) 0.000s (+Infinity% 🔺) 1.014s (~) 0.857s 10 1.16x
💻 Local Nitro 0.177s (+1.5%) 0.992s (~) 0.016s (+12.7% 🔺) 1.022s (~) 0.845s 10 1.30x
💻 Local Express 0.177s (~) 0.992s (~) 0.017s (+3.7%) 1.024s (~) 0.847s 10 1.31x
🌐 Turso Next.js (Turbopack) 0.503s (+10.5% 🔺) 0.948s (-4.8%) 0.000s (NaN%) 1.013s (~) 0.510s 10 3.71x
🌐 MongoDB Next.js (Turbopack) 0.513s (+3.5%) 0.935s (-2.1%) 0.000s (-50.0% 🟢) 1.013s (~) 0.500s 10 3.78x
🐘 Postgres Next.js (Turbopack) 1.121s (-50.8% 🟢) 1.929s (-30.4% 🟢) 0.000s (~) 2.019s (-33.1% 🟢) 0.898s 10 8.26x
🐘 Postgres Nitro 2.225s (+2.2%) 2.821s (-1.5%) 0.000s (+Infinity% 🔺) 3.016s (~) 0.791s 10 16.40x
🐘 Postgres Express 2.382s (~) 2.661s (~) 0.000s (-100.0% 🟢) 3.014s (~) 0.632s 10 17.55x

▲ Production (Vercel)

World Framework Workflow Time TTFB Slurp Wall Time Overhead Samples vs Fastest
▲ Vercel 🥇 Next.js (Turbopack) 2.637s (-0.8%) 3.199s (+5.1% 🔺) 0.244s (-51.5% 🟢) 3.838s (-3.7%) 1.201s 10 1.00x
▲ Vercel Nitro 2.728s (+7.0% 🔺) 3.094s (+0.9%) 0.890s (+162.3% 🔺) 4.450s (+17.8% 🔺) 1.722s 10 1.03x
▲ Vercel Express 6.451s (+150.9% 🔺) 5.995s (+92.2% 🔺) 0.418s (+6.1% 🔺) 7.840s (+99.4% 🔺) 1.389s 10 2.45x

🔍 Observability: Next.js (Turbopack) | Nitro | Express

Summary

Fastest Framework by World

Winner determined by most benchmark wins

World 🥇 Fastest Framework Wins
💻 Local Next.js (Turbopack) 7/8
🐘 Postgres Next.js (Turbopack) 7/8
▲ Vercel Express 4/8
Fastest World by Framework

Winner determined by most benchmark wins

Framework 🥇 Fastest World Wins
Express 💻 Local 8/8
Next.js (Turbopack) 🌐 Starter 6/8
Nitro 💻 Local 8/8
Column Definitions
  • Workflow Time: Runtime reported by workflow (completedAt - createdAt) - primary metric
  • TTFB: Time to First Byte - time from workflow start until first stream byte received (stream benchmarks only)
  • Slurp: Time from first byte to complete stream consumption (stream benchmarks only)
  • Wall Time: Total testbench time (trigger workflow + poll for result)
  • Overhead: Testbench overhead (Wall Time - Workflow Time)
  • Samples: Number of benchmark iterations run
  • vs Fastest: How much slower compared to the fastest configuration for this benchmark

Worlds:

  • 💻 Local: In-memory filesystem world (local development)
  • 🐘 Postgres: PostgreSQL database world (local development)
  • ▲ Vercel: Vercel production/preview deployment
  • 🌐 Starter: Community world (local development)
  • 🌐 Turso: Community world (local development)
  • 🌐 MongoDB: Community world (local development)
  • 🌐 Redis: Community world (local development)
  • 🌐 Jazz: Community world (local development)

📋 View full workflow run

Copy link
Member Author

TooTallNate commented Dec 18, 2025

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances error debugging for server response validation in the Vercel world package by improving error messages and capturing response bodies when validation fails.

Key Changes:

  • Refactored makeRequest to use a Request object for better error reporting consistency
  • Enhanced error messages to include the full response body and detailed error information when schema validation fails
  • Removed unused ZodError import and simplified error handling logic

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
packages/world-vercel/src/utils.ts Improved error handling in the makeRequest function with better error messages and response body capture
.changeset/whole-lights-camp.md Adds changeset entry for the patch release documenting the error debugging improvements

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

);
}

const text = await response.text();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be in the try-catch?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need text in the catch handler, so I think this is fine.

@TooTallNate TooTallNate merged commit 6cd1a47 into main Dec 18, 2025
157 of 159 checks passed
@TooTallNate TooTallNate deleted the 12-18-additional_error_debugging_when_failing_to_validate_server_response branch December 18, 2025 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants