ashb opened a new pull request, #37933: URL: https://github.com/apache/airflow/pull/37933
If you make a request to `http://localhost:8793/` it would get denied from this block on L82: ```python auth = request.headers.get("Authorization") if auth is None: logger.warning("The Authorization header is missing: %s.", request.headers) abort(403) `` abort is internally implemented to raise an exception. However since that `abort()` call was inside a try/except block, it was getting caught under the `execpt Exception:` fallback and running this: ```python except Exception: logger.warning("Unknown error", exc_info=True) abort(403) ``` So nothing was wrong with the behaviour (it still 403d the request), it's just the logs were slightly confusing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
