Skip to content

🐛 BUG: Workers tail events turn undefined into null #3905

Closed
@KianNH

Description

@KianNH

Which Cloudflare product(s) does this pertain to?

Workers Runtime

What version(s) of the tool(s) are you using?

n/a

What version of Node are you using?

n/a

What operating system are you using?

n/a

Describe the Bug

Workers tail events will turn undefined into null, which confuses users as these types don't overlap & issues such as if (undefined === null) are not picked up by TypeScript.

This isn't an issue with Wrangler specifically, the same behaviour is observed in the tail events shown in the dashboard.

Discord link: https://discord.com/channels/595317990191398933/779390076219686943/1149351316112539718

firefox_1VOxFF5hP3

Please provide a link to a minimal reproduction

No response

Please provide any relevant error logs

No response

Metadata

Metadata

Assignees

Labels

bugSomething that isn't workinginternalRequires support from the Cloudflare Platform

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions