Closed the-crypt-keeper closed 7 months ago
Thanks for the PR @the-crypt-keeper . I agree we need to improve the error handling in several places. I've actually merged a PR to fix the above issue and improve the error reporting in several places: https://github.com/mystic-ai/pipeline/pull/384 so hopefully this should address this PR too. Let me know if not
Pull request outline
If any endpoint returns 502, the error message looks like a dog's breakfast and doesn't actually say 502 anywhere:
After this PR, the JSONDecoderError is caught and handled correctly:
Checklist:
Added:
Changed:
Removed:
Related issues:
none