Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilmour committed Oct 17, 2023
1 parent eb04fe8 commit c57a039
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/datadog/datadog_agent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,8 @@ void DatadogAgent::send_app_started(nlohmann::json&& tracer_config) {
telemetry_endpoint_, telemetry_set_request_headers_, std::move(payload),
telemetry_on_response_, telemetry_on_error_);
if (auto* error = post_result.if_error()) {
logger_->log_error(
error->with_prefix("Unexpected error submitting telemetry app-started event: "));
logger_->log_error(error->with_prefix(
"Unexpected error submitting telemetry app-started event: "));
}
}

Expand All @@ -350,8 +350,8 @@ void DatadogAgent::send_heartbeat_and_telemetry() {
telemetry_endpoint_, telemetry_set_request_headers_, std::move(payload),
telemetry_on_response_, telemetry_on_error_);
if (auto* error = post_result.if_error()) {
logger_->log_error(
error->with_prefix("Unexpected error submitting telemetry app-heartbeat event: "));
logger_->log_error(error->with_prefix(
"Unexpected error submitting telemetry app-heartbeat event: "));
}
}

Expand All @@ -361,8 +361,8 @@ void DatadogAgent::send_app_closing() {
telemetry_endpoint_, telemetry_set_request_headers_, std::move(payload),
telemetry_on_response_, telemetry_on_error_);
if (auto* error = post_result.if_error()) {
logger_->log_error(
error->with_prefix("Unexpected error submitting telemetry app-closing event: "));
logger_->log_error(error->with_prefix(
"Unexpected error submitting telemetry app-closing event: "));
}
}

Expand Down

0 comments on commit c57a039

Please sign in to comment.