Skip to content

Commit 04b3cf5

Browse files
author
Andrei Neagu
committed
more clear logging
1 parent 6a8873f commit 04b3cf5

File tree

1 file changed

+2
-6
lines changed
  • packages/service-library/src/servicelib/long_running_tasks

1 file changed

+2
-6
lines changed

packages/service-library/src/servicelib/long_running_tasks/task.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -354,15 +354,11 @@ async def _tasks_monitor(self) -> None:
354354
_logger.exception(
355355
**create_troubleshootting_log_kwargs(
356356
(
357-
f"Execution of {task_id=} finished with error "
357+
f"Execution of {task_id=} finished with an error "
358358
f"which could not be serialized"
359359
),
360360
error=serialization_error,
361-
error_context={
362-
"task_id": task_id,
363-
"task_data": task_data,
364-
"namespace": self.lrt_namespace,
365-
},
361+
tip="Check the error above for more details",
366362
),
367363
)
368364
result_field = ResultField(

0 commit comments

Comments
 (0)