Sean Massa 5dc6f48e44 [cli][dev] handle no response from edge functions (#8095)
When an edge function has no response during `vc dev`, we were seeing an unhelpful error message:

> The event listener did not respond.

Now, we'll see a much more specific error message:

> Unhandled rejection: Edge Function "api/edge-no-response.ts" did not return a response.
> Error! Failed to complete request to /api/edge-no-response: Error: socket hang up
2022-07-20 20:09:29 +00:00
2022-04-12 07:52:12 -04:00
2019-08-23 23:57:00 +00:00
2022-01-23 23:02:29 -06:00

Vercel

Develop. Preview. Ship.

Documentation · Changelog · Templates · CLI


Vercel

Vercel is a platform for static sites and frontend frameworks, built to integrate with your headless content, commerce, or database.

We provide a frictionless developer experience to take care of the hard things: deploy instantly, scale automatically, and serve personalized content around the globe.

We make it easy for frontend teams to develop, preview, and ship delightful user experiences, where performance is the default.

Deploy

Get started by importing a project or using the Vercel CLI. Then, git push to deploy.

Documentation

For details on how to use Vercel, check out our documentation.

Contributing

Description
No description provided
Readme Apache-2.0 142 MiB
Languages
TypeScript 73.3%
JavaScript 20.4%
HTML 2%
CSS 1.7%
Stylus 0.7%
Other 1.8%