Open
Description
Describe the issue
I noticed that the error payload JSON generated by aws::lambda_runtime::invocation_response::failure includes an unexpected space before the "stackTrace" key. This extra space seems unnecessary and affects the consistency of the JSON format output.
aws-lambda-cpp/src/runtime.cpp
Line 530 in 934d254
Expected behavior
I expected the JSON output not to include unnecessary spaces before any keys to maintain consistency and compactness of the format. The preferable output should be: {"errorMessage":"message of error","errorType":"type of error","stackTrace":[]}
Metadata
Metadata
Assignees
Labels
No labels