How do I debug EdgeWorkers?
Can I validate my EdgeWorkers code bundle before uploading it?
Will upload fail if the bundle contains bad syntax or it doesn't compile?
The validation service does not check for logical or run time errors.
What happens if my EdgeWorkers function fails after I deploy it to production?
The request will fail and you'll get a 500 response. You can however, configure one of the supported failover actions to for example, perform a redirect to a different location or by-pass the failed EdgeWorkers function. As a best practice you should add the Site Failover behavior to your property and set up one of the supported actions.
Updated almost 2 years ago