aws-lambda-cpp icon indicating copy to clipboard operation
aws-lambda-cpp copied to clipboard

Remove Extra Space Before "stackTrace" in Error Payload JSON

Open math-hiyoko opened this issue 1 year ago • 0 comments

Summery

This PR addresses the issue reported in #197 regarding the unnecessary space found before the "stackTrace" key in the generated JSON error payload. The presence of this space affects the consistency of the JSON formatting without impacting the functionality or parseability of the output. This minor change aims to enhance the readability and the overall quality of the code by maintaining a consistent JSON format.

Changes

The extra space before the "stackTrace" key in the JSON string construction has been removed.

Before

R"(", "stackTrace":[]})";

After

R"(","stackTrace":[]})";

math-hiyoko avatar May 14 '24 16:05 math-hiyoko