```ts export default <ExportedHandler> { fetch()...
# workers-discussions
k
Copy code
ts
export default <ExportedHandler> {
  fetch() {
    return new Response(null, {
      status: 500,
    });
  },
};
That'd cause what you're seeing - where the script outcome was
ok
as it didn't encounter any issues but the response status is 500.