Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
improving error log for runtime::get_next() curl failure
  • Loading branch information
hbobenicio committed Aug 22, 2022
commit 5416fbf7d39237345acfa71b9a42e5ba18157bcb
5 changes: 4 additions & 1 deletion src/runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,10 @@ runtime::next_outcome runtime::get_next()

if (curl_code != CURLE_OK) {
logging::log_debug(LOG_TAG, "CURL returned error code %d - %s", curl_code, curl_easy_strerror(curl_code));
logging::log_error(LOG_TAG, "Failed to get next invocation. No Response from endpoint");
logging::log_error(
LOG_TAG,
"Failed to get next invocation. No Response from endpoint \"%s\"",
m_endpoints[Endpoints::NEXT].c_str());
return aws::http::response_code::REQUEST_NOT_MADE;
}

Expand Down