find_err_detail relied on ReturnDict.serializer, so plain string and list errors lost their message and nested ones could raise. Walk dicts and lists directly instead, and keep the internal non_field_errors key out of user-facing text. The axios interceptor toasted every failure before the page could handle it, so saving over the mindmap limit showed two messages and the workbench fell back to a generic one. Add an opt-in silentError flag and let the workbench render the server message itself. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| app_exception.py | ||
| handle_exception.py | ||
| test_handle_exception.py | ||