Files
langflow/src
keval shah 8db793435e fix(frontend): show backend error detail on project upload failure (#12791)
* fix(frontend): read backend error detail on project upload failure

Backend returns error payload under `detail` (FastAPI convention), but
the upload handler was reading `message`, producing an empty alert list.
Switch to `detail` with `message` and raw-error fallbacks, typed via
AxiosError.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(frontend): simplify project upload error handler

Revert defensive AxiosError typing; keep direct `detail` read which is
sufficient for the upload error path.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(frontend): guard upload error handler against missing response

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 18:05:43 +00:00
..