The GitHub Actions job "Tests" on airflow.git/main has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
6a58dd9bd387bcd8722d16c0824efe0e1d14ffce / Pierre Jeambrun 
<[email protected]>
Fix SAM login showing cryptic error on failed authentication (#64303)

The generated openapi client defaults to throwOnError: false, so HTTP
errors (e.g. 401) resolve the promise instead of rejecting it.
React Query then calls onSuccess with the error response, where
response.data is undefined, causing a TypeError when accessing
access_token.

Add throwOnError: true to the mutate call so errors are properly
thrown and routed to onError. Also fix ErrorAlert stale imports
from the old code generator and update it to extract error details
from the AxiosError response shape.

Report URL: https://github.com/apache/airflow/actions/runs/23668681997

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to