Skip to content

Conversation

@ihsaan-ullah
Copy link
Collaborator

@ihsaan-ullah ihsaan-ullah commented Mar 13, 2025

@Didayolo

A brief description of the purpose of the changes contained in this PR.

In submission upload when server returns 500, that error is not captured properly because of response parsing error. User is shown Error in submission upload SyntaxError: "undefined" is not valid JSON. Now user will see the actual error returned.

Issues this PR resolves

A checklist for hand testing

  • You can test this by manually raising an error in src/apps/api/views/datasets.py/DataViewset/create

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

@Didayolo Didayolo self-assigned this Mar 20, 2025
@Didayolo Didayolo merged commit be03c81 into develop Mar 20, 2025
1 check passed
@Didayolo Didayolo deleted the submission_upload branch March 20, 2025 12:45
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