Skip to content

Fix/Added handling for nested status codes#90

Open
eigenvektorin wants to merge 1 commit into
mainfrom
fix/audioform-nested-build-status
Open

Fix/Added handling for nested status codes#90
eigenvektorin wants to merge 1 commit into
mainfrom
fix/audioform-nested-build-status

Conversation

@eigenvektorin
Copy link
Copy Markdown
Contributor

Description

🛠️ Changes being made

Found a case where a failed audioform build was not being handled properly.

The API can return a top-level success response, but still include a failed build status inside data.statusCode. In that case, Audioform.Item could still look successful, and downstream code could crash later when it tried to use fields that were not present in the failed result.
In Story.Item, this is being handled correctly, see here)

🔬 Test Plan

How do you know the changes are safe to ship?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

  • Test A
  • Test B

🎫 Asanaticket

  • Is the PR attached to the Asanaticket

If there is no Asanaticket for the PR, please describe in 1-2 sentences why there is no ticket for the purposed changes.

🛫 Quality Check

Please delete options that are not relevant!

  • I have performed a self-review of my code

  • I have added tests that prove my fix is effective or that my feature works

  • Do we need to implement analytics?

  • Authorization enabled?

  • Do we have monitoring enabled?

  • Is the Postman collection up-to-date.

  • Readme of the Repo updated.

  • This change requires a documentation update

  • Bug fix (non-breaking change which fixes an issue)

  • New feature (non-breaking change which adds functionality)

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

  • Is the architecture diagram updated.

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