From 86d8cdc5b3c35efa865621801ec9fc4e5e3cff0b Mon Sep 17 00:00:00 2001 From: Shawn Qiu Date: Thu, 18 Apr 2024 19:20:09 -0700 Subject: [PATCH] remove stack trace todos --- agentops/client.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/agentops/client.py b/agentops/client.py index bcd1d695..afb3eb2c 100644 --- a/agentops/client.py +++ b/agentops/client.py @@ -150,7 +150,6 @@ def _record_event_sync(self, func, event_name, *args, **kwargs): self.record(event) except Exception as e: - # TODO: add the stack trace self.record(ErrorEvent(trigger_event=event, error_type=type(e).__name__, details=str(e))) # Re-raise the exception @@ -190,7 +189,6 @@ async def _record_event_async(self, func, event_name, *args, **kwargs): self.record(event) except Exception as e: - # TODO: add the stack trace self.record(ErrorEvent(trigger_event=event, error_type=type(e).__name__, details=str(e))) # Re-raise the exception