add nulable project also

This commit is contained in:
maryhipp 2024-05-17 16:14:04 -04:00 committed by psychedelicious
parent b6b7e737e0
commit 84e031edc2
2 changed files with 3 additions and 0 deletions

View File

@ -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
},
)

View File

@ -238,6 +238,7 @@ class DefaultSessionProcessor(SessionProcessorBase):
error_type=e.__class__.__name__,
error=error,
user_id=None,
project_id=None
)
pass