https://developers.cloudflare.com/workers/platform/tail-workers/ if you're on a paid plan
A Tail Worker receives information about the execution of other Workers, such as HTTP statuses, data passed to console.log() or uncaught exceptions. …

npx wrangler dev --remotelogs and an empty exceptions field. Weirdly the outcome field is "ok" even thought the event.response.status is 500 and clearly not okay. What may have gone wrong? How does the outcome field get set to ok?ok as it didn't encounter any issues but the response status is 500.name = "browser-worker"
main = "src/index.ts"
compatibility_date = "2023-03-14"
node_compat = true
workers_dev = true
browser = { binding = "MYBROWSER", type = "browser" }npx wrangler dev --remotelogsexceptionsoutcomeevent.response.statusok[[unsafe.bindings]]
binding = "MYBROWSER"
type = "browser"export default <ExportedHandler> {
fetch() {
return new Response(null, {
status: 500,
});
},
};