Skip to content

Commit ebe4f44

Browse files
committed
debug
1 parent bd9c747 commit ebe4f44

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

modules/testing/builder/src/builder-harness.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import { dirname, join } from 'node:path';
3030
import {
3131
Observable,
3232
Subject,
33+
TimeoutError,
3334
catchError,
3435
finalize,
3536
firstValueFrom,
@@ -279,12 +280,10 @@ export class BuilderHarness<T> {
279280
),
280281
map((buildResult) => ({ result: buildResult, error: undefined })),
281282
catchError((error) => {
282-
if (outputLogsOnException) {
283-
// eslint-disable-next-line no-console
284-
console.error(logs.map((entry) => entry.message).join('\n'));
285-
// eslint-disable-next-line no-console
286-
console.error(error);
287-
}
283+
// eslint-disable-next-line no-console
284+
console.error(logs.map((entry) => entry.message).join('\n'));
285+
// eslint-disable-next-line no-console
286+
console.error(error);
288287

289288
return observableOf({ result: undefined, error });
290289
}),

0 commit comments

Comments
 (0)