diff --git a/airflow_priority/plugins/aws.py b/airflow_priority/plugins/aws.py index 60691ab..7f9e582 100644 --- a/airflow_priority/plugins/aws.py +++ b/airflow_priority/plugins/aws.py @@ -81,4 +81,4 @@ class AWSCloudWatchPriorityPlugin(AirflowPlugin): get_config_option("aws", "region") AWSCloudWatchPriorityPlugin.listeners.append(sys.modules[__name__]) except (ImportError, AirflowPriorityConfigurationOptionNotFound): - _log.exception("Plugin could not be enabled") + _log.warning("aws cloudwatch plugin could not be enabled!") diff --git a/airflow_priority/plugins/datadog.py b/airflow_priority/plugins/datadog.py index 0f815e7..ee5fdf4 100644 --- a/airflow_priority/plugins/datadog.py +++ b/airflow_priority/plugins/datadog.py @@ -101,4 +101,4 @@ class DatadogPriorityPlugin(AirflowPlugin): get_config_option("datadog", "api_key") DatadogPriorityPlugin.listeners.append(sys.modules[__name__]) except (ImportError, AirflowPriorityConfigurationOptionNotFound): - _log.exception("Plugin could not be enabled") + _log.warning("datadog plugin could not be enabled! Ensure `datadog-api-client` is installed and all configuration options are set.") diff --git a/airflow_priority/plugins/discord.py b/airflow_priority/plugins/discord.py index 6b384cb..23a2f46 100644 --- a/airflow_priority/plugins/discord.py +++ b/airflow_priority/plugins/discord.py @@ -82,4 +82,4 @@ class DiscordPriorityPlugin(AirflowPlugin): DiscordPriorityPlugin.listeners.append(sys.modules[__name__]) except (ImportError, AirflowPriorityConfigurationOptionNotFound): - _log.exception("Plugin could not be enabled") + _log.warning("discord plugin could not be enabled! Ensure `discord.py` is installed and all configuration options are set.") diff --git a/airflow_priority/plugins/newrelic.py b/airflow_priority/plugins/newrelic.py index 88808dd..63107ad 100644 --- a/airflow_priority/plugins/newrelic.py +++ b/airflow_priority/plugins/newrelic.py @@ -70,4 +70,4 @@ class NewRelicPriorityPlugin(AirflowPlugin): get_config_option("newrelic", "api_key") NewRelicPriorityPlugin.listeners.append(sys.modules[__name__]) except (ImportError, AirflowPriorityConfigurationOptionNotFound): - _log.exception("Plugin could not be enabled") + _log.warning("newrelic plugin could not be enabled! Ensure `newrelic-telemetry-sdk` is installed and all configuration options are set.") diff --git a/airflow_priority/plugins/slack.py b/airflow_priority/plugins/slack.py index b48e432..47393b2 100644 --- a/airflow_priority/plugins/slack.py +++ b/airflow_priority/plugins/slack.py @@ -72,4 +72,4 @@ class SlackPriorityPlugin(AirflowPlugin): get_config_option("slack", "channel") SlackPriorityPlugin.listeners.append(sys.modules[__name__]) except (ImportError, AirflowPriorityConfigurationOptionNotFound): - _log.exception("Plugin could not be enabled") + _log.warning("slack plugin could not be enabled! Ensure `slack-sdk` is installed and all configuration options are set.") diff --git a/airflow_priority/plugins/symphony.py b/airflow_priority/plugins/symphony.py index 07d6377..22800a1 100644 --- a/airflow_priority/plugins/symphony.py +++ b/airflow_priority/plugins/symphony.py @@ -115,4 +115,4 @@ class SymphonyPriorityPlugin(AirflowPlugin): get_config_options() SymphonyPriorityPlugin.listeners.append(sys.modules[__name__]) except (ImportError, AirflowPriorityConfigurationOptionNotFound): - _log.exception("Plugin could not be enabled") + _log.warning("symphony plugin could not be enabled! Ensure `httpx` is installed and all configuration options are set.")