Skip to content

Commit

Permalink
Rollback to raise exception
Browse files Browse the repository at this point in the history
  • Loading branch information
tatiana committed Sep 26, 2023
1 parent 802e8b8 commit 0f14ad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cosmos/operators/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
# apache-airflow-providers-cncf-kubernetes < 7.4.0
from airflow.providers.cncf.kubernetes.operators.kubernetes_pod import KubernetesPodOperator
except ImportError as error:
logger.info(
logger.exception(error)
raise ImportError(
"Could not import KubernetesPodOperator. Ensure you've installed the Kubernetes provider "
"separately or with with `pip install astronomer-cosmos[...,kubernetes]`."
)
logger.exception(error)


class DbtKubernetesBaseOperator(KubernetesPodOperator, DbtBaseOperator): # type: ignore
Expand Down

0 comments on commit 0f14ad0

Please sign in to comment.