Commit d11bb05
authored
Fix regression in debug dumping of spans (#8567)
PR #8538 rationalized the names of fields in spans, but this broke its
implementation of `as_markup`, which wasn't updated.
This code isn't really typechecked, apparently, and the failure is
expressed only as
```
Exception during serialization to markup: <builtins.AttributeError: 'Span' object has no attribute 'name'>
```
being spewed when errors are printed to the server log, so no tests
failed and the server still worked.1 parent ffb52d2 commit d11bb05
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
| 141 | + | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
0 commit comments