Skip to content

Commit

Permalink
fix(tasks): console log errors by default [skip ci] (#4165)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunozoric authored Jun 13, 2024
1 parent 71e514d commit 83cba97
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/tasks/src/runner/TaskManagerStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,13 @@ export class TaskManagerStore<
log: ITaskManagerStoreErrorLog,
options?: ITaskManagerStoreAddLogOptions
): Promise<void> {
/**
* Let's log the error to the console as well.
*/
console.error(log.error);
/**
* Then update the log object.
*/
this.taskLogUpdater.update({
items: [
{
Expand Down

0 comments on commit 83cba97

Please sign in to comment.