From 69aa0cad8996efde079c801058b18df251ed0e3b Mon Sep 17 00:00:00 2001 From: juliecoust Date: Wed, 27 Nov 2024 15:53:48 +0100 Subject: [PATCH] DEV improve task log by adding task type --- src/domain/repositories/task-repository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/repositories/task-repository.ts b/src/domain/repositories/task-repository.ts index 0ca38c8..13fdf06 100644 --- a/src/domain/repositories/task-repository.ts +++ b/src/domain/repositories/task-repository.ts @@ -68,7 +68,7 @@ export class TaskRepositoryImpl implements TaskRepository { // create log file try { - await this.logMessage(log_file_path, "Task created") + await this.logMessage(log_file_path, "Task created for " + task.task_type) await this.logMessage(log_file_path, "Task params: " + JSON.stringify(task.task_params)) } catch (err) { console.log(err);