Merge pull request #4662 from msabramo/slack-alert-add-missing-space

Add missing space in "Failed Tracking Cost" Slack alert msg
This commit is contained in:
Ishaan Jaff
2024-07-11 15:03:52 -07:00
committed by GitHub
+1 -1
View File
@@ -675,7 +675,7 @@ class SlackAlerting(CustomLogger):
async def failed_tracking_alert(self, error_message: str):
"""Raise alert when tracking failed for specific model"""
_cache: DualCache = self.internal_usage_cache
message = "Failed Tracking Cost for" + error_message
message = "Failed Tracking Cost for " + error_message
_cache_key = "budget_alerts:failed_tracking:{}".format(message)
result = await _cache.async_get_cache(key=_cache_key)
if result is None: