Commit b3f0d0e
committed
fix(weave): keep traced_generator on calls_query_stream
Extracting _build_calls_query took the decorator with it, so the span named
calls_query_stream wrapped a plain function returning a tuple while the actual
generator -- a public API read path -- lost its span entirely. It went unnoticed
because unpacking cq, settings works on any iterable, including the generator
the decorator returned.1 parent a815de0 commit b3f0d0e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1858 | 1858 | | |
1859 | 1859 | | |
1860 | 1860 | | |
1861 | | - | |
1862 | 1861 | | |
1863 | 1862 | | |
1864 | 1863 | | |
| |||
1966 | 1965 | | |
1967 | 1966 | | |
1968 | 1967 | | |
| 1968 | + | |
1969 | 1969 | | |
1970 | 1970 | | |
1971 | 1971 | | |
| |||
0 commit comments