We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9322d4 commit 27f78b5Copy full SHA for 27f78b5
ddtrace/internal/ci_visibility/encoder.py
@@ -96,7 +96,7 @@ def _get_parent_session(self, traces):
96
def _build_payload(self, traces):
97
# type: (List[List[Span]]) -> Tuple[Optional[bytes], int]
98
if not traces:
99
- return []
+ return (None, 0)
100
101
new_parent_session_span_id = self._get_parent_session(traces)
102
return self._send_all_or_half_spans(traces, new_parent_session_span_id)
0 commit comments