From 83cba97f10036a748a2f55eb33d217b6706401c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Zori=C4=87?= Date: Thu, 13 Jun 2024 15:51:26 +0200 Subject: [PATCH] fix(tasks): console log errors by default [skip ci] (#4165) --- packages/tasks/src/runner/TaskManagerStore.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/tasks/src/runner/TaskManagerStore.ts b/packages/tasks/src/runner/TaskManagerStore.ts index 4d8a5aa81d6..809578b945d 100644 --- a/packages/tasks/src/runner/TaskManagerStore.ts +++ b/packages/tasks/src/runner/TaskManagerStore.ts @@ -163,6 +163,13 @@ export class TaskManagerStore< log: ITaskManagerStoreErrorLog, options?: ITaskManagerStoreAddLogOptions ): Promise { + /** + * Let's log the error to the console as well. + */ + console.error(log.error); + /** + * Then update the log object. + */ this.taskLogUpdater.update({ items: [ {