Skip to content
Commit Detail

Commit e589b8a

Author
Dan Lapid <dan.lapid@gmail.com> 2025-07-22 22:04:45 +0000
Parents
c4e438e
Tree
a6d8d1e
Pass messages logged by logWarning to the tail worker.

Messages logged by logWarning can contain critical information about the
operation of the worker, including warnings about bugs and incorrect
usage of APIs.
Today, those warnings are only visible in local dev even though some of
these warnings are only defined in the internal repository meaning they
are only visible with `wrangler dev --remote`.
To amend this confusing behaviour this commit passes all such warnings
to the tail worker as warning logs.

Files changed

1 file changed~1 modified