Skip to content

Commit 085c975

Browse files
M-ElsaeedMohammed Ehab
andcommitted
Log errorType and errorMessage from RAPID (#105)
Co-authored-by: Mohammed Ehab <moehabe@amazon.com>
1 parent 2250e99 commit 085c975

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • aws-lambda-java-runtime-interface-client/src/main/jni/deps/aws-lambda-cpp-0.2.7/src

aws-lambda-java-runtime-interface-client/src/main/jni/deps/aws-lambda-cpp-0.2.7/src/runtime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ runtime::post_outcome runtime::do_post(
370370

371371
if (!is_success(aws::http::response_code(http_response_code))) {
372372
logging::log_error(
373-
LOG_TAG, "Failed to post handler success response. Http response code: %ld.", http_response_code);
373+
LOG_TAG, "Failed to post handler success response. Http response code: %ld. %s", http_response_code, resp.get_body().c_str());
374374
return aws::http::response_code(http_response_code);
375375
}
376376

0 commit comments

Comments
 (0)