potiuk commented on a change in pull request #17195:
URL: https://github.com/apache/airflow/pull/17195#discussion_r675709293
##########
File path: airflow/settings.py
##########
@@ -432,7 +432,12 @@ def import_local_settings():
log.info("Loaded airflow_local_settings from %s .",
airflow_local_settings.__file__)
except ImportError:
- log.debug("Failed to import airflow_local_settings.", exc_info=True)
+ log.warning("Failed to import airflow_local_settings.", exc_info=True)
+ except ModuleNotFoundError as e:
Review comment:
ModuleNotFoundError derirves from ImportError so it should be higher.
--
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]