potiuk commented on code in PR #33267:
URL: https://github.com/apache/airflow/pull/33267#discussion_r1292878576
##########
airflow/settings.py:
##########
@@ -465,11 +465,23 @@ def import_local_settings():
"""Import airflow_local_settings.py files to allow overriding any configs
in settings.py file."""
try:
import airflow_local_settings
-
+ except ModuleNotFoundError as e:
Review Comment:
Looks good - even if there are other import errors laters (it's possible -
local imports for example) - then this code was anyhow re-raising them.
--
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]