Skip to content

Commit 3e35394

Browse files
authored
fix(alerts): Update logger string to be accurate (#77603)
Oops this is the store data endpoint, not detect anomalies
1 parent a1d07b2 commit 3e35394

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sentry/seer/anomaly_detection/store_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ def send_historical_data_to_seer(alert_rule: AlertRule, project: Project) -> Ale
114114

115115
if response.status > 400:
116116
logger.error(
117-
"Error when hitting Seer detect anomalies endpoint",
117+
"Error when hitting Seer store data endpoint",
118118
extra={"response_code": response.status},
119119
)
120-
raise Exception("Error when hitting Seer detect anomalies endpoint")
120+
raise Exception("Error when hitting Seer store data endpoint")
121121

122122
try:
123123
decoded_data = response.data.decode("utf-8")

0 commit comments

Comments
 (0)