Skip to content

Commit

Permalink
Update packages/node/src/edge-functions/edge-handler-template.js
Browse files Browse the repository at this point in the history
Co-authored-by: Sean Massa <EndangeredMassa@gmail.com>
  • Loading branch information
Kikobeats and EndangeredMassa committed May 25, 2023
1 parent 0f1218c commit db50f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/node/src/edge-functions/edge-handler-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function registerFetchListener(module, options, dependencies) {
: () => new dependencies.Response(null, { status: 405 });
} else {
throw new Error(
'No default export was found. Add a default export to handle requests. Learn more: https://vercel.link/creating-edge-middleware'
`No default export was found at ${event.request.url}. Add a default export to handle requests. Learn more: https://vercel.link/creating-edge-middleware`
);
}
}
Expand Down

0 comments on commit db50f0c

Please sign in to comment.