Commit df0e700
authored
bugfix: Ensure both trace fields are set if tracing is used (#117)
Why
===
If `tracing` is set, we expect `traceparent` and `tracestate` to be
non-null on the server side. If there is no tracestate, an empty string
is sufficient.
What changed
============
- Default `traceparent` and `tracestate` to empty strings
Test plan
=========
- Tracing should work without the TS server rejecting these messages1 parent cafcc18 commit df0e700
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
| 91 | + | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
0 commit comments