Closed janat08 closed 2 years ago
A few things here:
router.handle
directly in event.respondWith(router.handle(event.request))
router.all('*', () => missing('Ooops!'))
), then your worker code will crash, having not provided a response to the original route.Closing this as not an issue until you're able to provide more details about the routes being fed through this, and other missing parts like what paypal.fetch
entails.
If you respond with html not using the router then you don't get the error. I still get html in the preview, but the stackstraces are really annoyining in terminal. Everything works but with stack traces in terminal. I believe it will still show underlying errors like reference errors and stuff but you have to scroll more.
layoutjs