Open saengel opened 2 months ago
Improve error messaging and remove 500 errors on the texts API (v1 and v2)
sefaria/model/text.py
api/views.py
Description
Improve error messaging and remove 500 errors on the texts API (v1 and v2)
Code Changes
sefaria/model/text.py
- Write more robust error message to be more helpful for our third party users.api/views.py
- Properly catch error for Book Level Complex Texts, and report helpful error message.