diff --git a/invokeai/app/services/events/events_base.py b/invokeai/app/services/events/events_base.py index 6373ec1f78..100e5c024f 100644 --- a/invokeai/app/services/events/events_base.py +++ b/invokeai/app/services/events/events_base.py @@ -122,6 +122,7 @@ class EventServiceBase: source_node_id: str, error_type: str, error: str, + user_id: str | None, ) -> None: """Emitted when an invocation has completed""" self.__emit_queue_event( @@ -135,6 +136,7 @@ class EventServiceBase: "source_node_id": source_node_id, "error_type": error_type, "error": error, + "user_id": user_id }, ) diff --git a/invokeai/app/services/session_processor/session_processor_default.py b/invokeai/app/services/session_processor/session_processor_default.py index 61270e0879..de963867d5 100644 --- a/invokeai/app/services/session_processor/session_processor_default.py +++ b/invokeai/app/services/session_processor/session_processor_default.py @@ -237,6 +237,7 @@ class DefaultSessionProcessor(SessionProcessorBase): source_node_id=source_invocation_id, error_type=e.__class__.__name__, error=error, + user_id=None ) pass