detail key in error resposne is empty
For some client side errors, details key in response is empty. From my understanding of the docs of map_exceptions the detail should be populated from exception message. Is this expected ?
example response
{
"error": "ERROR_CANNOT_DELETE_PRIMARY_FIELD",
"detail": ""
}
steps to reproduce:
- deleting a primary field is a example.
Expection: detail
should have Cannot delete the primary field of a table
message from exception
found this bug when i was trying out some changes locally, have included python version
and pip freeze
below
Python version
Python 3.7.9 (default, Apr 16 2021, 09:38:34)
Edited by Hassan K Salim