Weimin Ma
CDCloudflare Developers
•Created by Weimin Ma on 7/7/2024 in #workers-help
Is there a way to selectively turn off passThroughOnException?
Given the following code snippet:
addEventListener('fetch', (event) => {
event.passThroughOnException();
event.respondWith(handleRequest(event, start));
});
Is there a way to selectively turn off passThroughOnException() as soon as the request payload has been streamed in handleRequest function?1 replies