mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
add nulable project also
This commit is contained in:
parent
b6b7e737e0
commit
84e031edc2
@ -123,6 +123,7 @@ class EventServiceBase:
|
||||
error_type: str,
|
||||
error: str,
|
||||
user_id: str | None,
|
||||
project_id: str | None,
|
||||
) -> None:
|
||||
"""Emitted when an invocation has completed"""
|
||||
self.__emit_queue_event(
|
||||
@ -137,6 +138,7 @@ class EventServiceBase:
|
||||
"error_type": error_type,
|
||||
"error": error,
|
||||
"user_id": user_id,
|
||||
"project_id": project_id
|
||||
},
|
||||
)
|
||||
|
||||
|
@ -238,6 +238,7 @@ class DefaultSessionProcessor(SessionProcessorBase):
|
||||
error_type=e.__class__.__name__,
|
||||
error=error,
|
||||
user_id=None,
|
||||
project_id=None
|
||||
)
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user