Skip to content

Commit 6a9536e

Browse files
committed
Revert logging change in do_post error path
Remove response body from the post failure log message to avoid potential breaking changes in log output format.
1 parent e09e6bf commit 6a9536e

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/runtime.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,7 @@ runtime::post_outcome runtime::do_post(
387387

388388
if (!is_success(aws::http::response_code(http_response_code))) {
389389
logging::log_error(
390-
LOG_TAG,
391-
"Failed to post handler success response. Http response code: %ld. %s",
392-
http_response_code,
393-
resp.get_body().c_str());
390+
LOG_TAG, "Failed to post handler success response. Http response code: %ld.", http_response_code);
394391
return aws::http::response_code(http_response_code);
395392
}
396393

0 commit comments

Comments
 (0)