diff --git a/packages/nx/src/tasks-runner/task-orchestrator.ts b/packages/nx/src/tasks-runner/task-orchestrator.ts index d809a4fea62d7..10bdaa63bf6f2 100644 --- a/packages/nx/src/tasks-runner/task-orchestrator.ts +++ b/packages/nx/src/tasks-runner/task-orchestrator.ts @@ -528,6 +528,9 @@ export class TaskOrchestrator { terminalOutput, }; } catch (e) { + if (process.env.NX_VERBOSE_LOGGING === 'true') { + console.error(e); + } return { code: 1, };