Skip to content

Comments

Remove Extra Space Before "stackTrace" in Error Payload JSON#198

Merged
maxday merged 1 commit intoawslabs:masterfrom
math-hiyoko:fix/extra_space
Apr 29, 2025
Merged

Remove Extra Space Before "stackTrace" in Error Payload JSON#198
maxday merged 1 commit intoawslabs:masterfrom
math-hiyoko:fix/extra_space

Conversation

@math-hiyoko
Copy link
Contributor

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 math-hiyoko marked this pull request as draft May 14, 2024 16:06
@math-hiyoko math-hiyoko marked this pull request as ready for review May 14, 2024 16:07
@maxday
Copy link
Contributor

maxday commented Apr 29, 2025

Thanks a lot @math-hiyoko and very sorry about the delay!

@maxday maxday self-requested a review April 29, 2025 10:55
@maxday maxday merged commit 0e99247 into awslabs:master Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants