Log a stack trace for invocation errors.

This commit is contained in:
Ryan Dick 2024-03-01 19:10:30 -05:00 committed by psychedelicious
parent 264aee3ffa
commit f6028a4c61

View File

@ -200,6 +200,7 @@ class DefaultSessionProcessor(SessionProcessorBase):
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(