Skip to content

Commit f7543b9

Browse files
Use send_with_retry in the trace exporter (#871)
* Return hyper error in send_with_retry * Replace Serde error by Serialization error * Use send_with_retry in data-pipeline
1 parent 19424de commit f7543b9

File tree

8 files changed

+345
-193
lines changed

8 files changed

+345
-193
lines changed

data-pipeline-ffi/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ impl From<TraceExporterError> for ExporterError {
119119
ExporterErrorCode::HttpUnknown
120120
}
121121
}
122-
TraceExporterError::Serde(_) => ExporterErrorCode::Serde,
122+
TraceExporterError::Serialization(_) => ExporterErrorCode::Serde,
123123
};
124124
ExporterError::new(code, &value.to_string())
125125
}

0 commit comments

Comments
 (0)