Skip to content

Commit aab8723

Browse files
committed
@pcrespov add log_context
1 parent 3a92c57 commit aab8723

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

services/api-server/src/simcore_service_api_server/_service_function_jobs_task_client.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ async def _celery_task_status(
9494
**create_troubleshooting_log_kwargs(
9595
user_msg,
9696
error=err,
97+
error_context={
98+
"task_uuid": TaskUUID(job_creation_task_id),
99+
"task_filter": task_filter,
100+
"user_id": user_id,
101+
"product_name": product_name,
102+
},
97103
tip="This probably means the celery task failed, because the task should have created the project_id.",
98104
)
99105
)

0 commit comments

Comments
 (0)