Skip to content

refact(appengine): throw exception if json parsing fails#445

Merged
mike-sul merged 1 commit intomasterfrom
json-parsing-error-output
Jan 28, 2026
Merged

refact(appengine): throw exception if json parsing fails#445
mike-sul merged 1 commit intomasterfrom
json-parsing-error-output

Conversation

@mike-sul
Copy link
Contributor

If a json parsing fails then throw an exception that includes both the parsing error log and the json string itself. It helps to identify an issue instantly if composectl <> --format json command produces an invalid json output.

If a json parsing fails then throw an exception that includes both the
parsing error log and the json string itself. It helps to identify an
issue instantly if `composectl <> --format json` command produces an
invalid json output.

Signed-off-by: Mike Sul <mike.sul@foundries.io>
@mike-sul mike-sul marked this pull request as ready for review January 27, 2026 14:09
@mike-sul mike-sul requested a review from detsch January 27, 2026 14:09
@mike-sul mike-sul merged commit 6cbc10a into master Jan 28, 2026
5 checks passed
@mike-sul mike-sul deleted the json-parsing-error-output branch January 28, 2026 14:05
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.

2 participants