Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

chore: fix typo in controller.py #968

Merged
merged 1 commit into from
May 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions chaos_genius/core/anomaly/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def _detect_subdimensions(self, input_data: pd.DataFrame) -> None:
try:
self._run_anomaly_for_series(input_data, "subdim", subgroup)
except Exception: # noqa: B902
logger.exception(f"Exception occured for: subdim - {subgroup}")
logger.exception(f"Exception occurred for: subdim - {subgroup}")
except Exception as e:
self._checkpoint_failure("Subdimensions - Anomaly Detector", e)
raise e
Expand Down Expand Up @@ -573,7 +573,7 @@ def _detect_data_quality(self, input_data: pd.DataFrame) -> None:
try:
self._run_anomaly_for_series(input_data, "dq", dq)
except Exception: # noqa: B902
logger.exception(f"Exception occured for: data quality - {dq}")
logger.exception(f"Exception occurred for: data quality - {dq}")
except Exception as e:
self._checkpoint_failure("Data Quality - Anomaly Detector", e)
raise e
Expand Down Expand Up @@ -604,7 +604,7 @@ def _checkpoint_failure(self, checkpoint: str, e: Exception, flag=True):
e,
)
logger.exception(
"(Task: %s, KPI: %d) " "Anomaly - %s - Exception occured.",
"(Task: %s, KPI: %d) " "Anomaly - %s - Exception occurred.",
str(self._task_id),
self.kpi_info["id"],
checkpoint,
Expand Down