-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
area:APIAirflow's REST/HTTP APIAirflow's REST/HTTP APIgood first issuekind:featureFeature RequestsFeature Requestskind:metaHigh-level information important to the communityHigh-level information important to the communitytype:bug-fixChangelog: Bug FixesChangelog: Bug Fixes
Milestone
Description
Body
Similarly to AF2 expose_stacktrace we need to implement the AF3 equivalent. Add an api.expose_stacktrace config parameter and update the fastapi exception handlers (mostly the DB ones because they are the one to return stacktraces at the moment, but other exception handlers should be checked to) to instead return a generic message such as "DatabaseIntegrity error see more details in logs" when stack traces are not exposed.
Committer
- I acknowledge that I am a maintainer/committer of the Apache Airflow project.
potiuk
Metadata
Metadata
Assignees
Labels
area:APIAirflow's REST/HTTP APIAirflow's REST/HTTP APIgood first issuekind:featureFeature RequestsFeature Requestskind:metaHigh-level information important to the communityHigh-level information important to the communitytype:bug-fixChangelog: Bug FixesChangelog: Bug Fixes