-
Notifications
You must be signed in to change notification settings - Fork 16.5k
Closed
Labels
Description
Apache Airflow version
2.2.5 (latest released)
What happened
Invalid JSON metadata in get_logs_with_metadata causes server error. The json.loads exception is not handled like validation in other endpoints.
What you think should happen instead
A proper error message can be returned
How to reproduce
Accessing below endpoint with invalid metadata payload
Operating System
Ubuntu 20.04
Versions of Apache Airflow Providers
No response
Deployment
Virtualenv installation
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable