Skip to content

Commit

Permalink
Log a stack trace for invocation errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanJDick authored and psychedelicious committed Mar 4, 2024
1 parent 264aee3 commit f6028a4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def _process(
self._invoker.services.logger.error(
f"Error while invoking session {self._queue_item.session_id}, invocation {self._invocation.id} ({self._invocation.get_type()}):\n{e}"
)
self._invoker.services.logger.error(error)

# Send error event
self._invoker.services.events.emit_invocation_error(
Expand Down

0 comments on commit f6028a4

Please sign in to comment.