Skip to content

Commit 521460b

Browse files
authored
Update exporters/otlp/src/otlp_grpc_client.cc
1 parent 8e551cf commit 521460b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

exporters/otlp/src/otlp_grpc_client.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@ static sdk::common::ExportResult InternalDelegateAsyncExport(
215215
if (call_data->grpc_status.ok())
216216
{
217217
call_data->export_result = opentelemetry::sdk::common::ExportResult::kSuccess;
218-
} else {
218+
}
219+
else
220+
{
219221
OTEL_INTERNAL_LOG_ERROR("[OTLP GRPC Client] ERROR: Export "
220222
<< export_data_name << " failed with status_code: \""
221223
<< grpc_status.error_code() << "\" error_message: \""

0 commit comments

Comments
 (0)