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