Skip to content

Exit if bad trade leagues JSON#9961

Merged
LocalIdentity merged 2 commits into
PathOfBuildingCommunity:devfrom
apYdr6uxv:patch-2
Jul 23, 2026
Merged

Exit if bad trade leagues JSON#9961
LocalIdentity merged 2 commits into
PathOfBuildingCommunity:devfrom
apYdr6uxv:patch-2

Conversation

@apYdr6uxv

Copy link
Copy Markdown
Contributor

Description of the problem being solved:

Code should not continue here, if bad JSON received, since next block expects good JSON.
This also makes clearer the source of an error.

I copy-pasted the same return as the one a little above.

Steps taken to verify a working solution:

This was part of a (discarded) fix I had for pre-OAuth version; now, it's no longer as easy to hit this spot.
But I believe the code flow makes sense.

The next block expects good JSON anyway.
@LocalIdentity LocalIdentity added the technical Hidden from release notes label Jul 23, 2026
@LocalIdentity
LocalIdentity merged commit b097b67 into PathOfBuildingCommunity:dev Jul 23, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

technical Hidden from release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants