Skip to content

Commit

Permalink
remove stack trace todos
Browse files Browse the repository at this point in the history
  • Loading branch information
siyangqiu committed Apr 19, 2024
1 parent 6843d37 commit 86d8cdc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions agentops/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 86d8cdc

Please sign in to comment.