lagonapp / lagon

Deploy Serverless Functions at the Edge. Current status: Alpha
https://lagon.app
GNU Affero General Public License v3.0
1.33k stars 62 forks source link

fix(js-runtime,cli,serverless): error when handler doesn't return a Response #1001

Closed QuiiBz closed 1 year ago

QuiiBz commented 1 year ago

About

Not returning a response would previously error with an error inside the js-runtime code, which wasn't ideal. This makes sure users get a proper error message if they forgot to return a Response from the handler

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 4aa38bb1e12442dd11cbfb380bb27c0a7cb73aa1

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

This PR includes changesets to release 4 packages | Name | Type | | ----------------- | ----- | | @lagon/js-runtime | Patch | | @lagon/cli | Patch | | @lagon/serverless | Patch | | @lagon/runtime | 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[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
dashboard 🔄 Building (Inspect) Jun 28, 2023 5:19pm
docs 🔄 Building (Inspect) Jun 28, 2023 5:19pm
storybook 🔄 Building (Inspect) Jun 28, 2023 5:19pm
www 🔄 Building (Inspect) Jun 28, 2023 5:19pm