Skip to content

Exit if bad trade leagues JSON#9961

Open
apYdr6uxv wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
apYdr6uxv:patch-2
Open

Exit if bad trade leagues JSON#9961
apYdr6uxv wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
apYdr6uxv:patch-2

Conversation

@apYdr6uxv

Copy link
Copy Markdown

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.
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.

1 participant