Skip to content

Commit 0b9c146

Browse files
committed
Replace console.error with logger
1 parent 9c5f3d5 commit 0b9c146

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/rca-agent-utils/get-failed-test-id.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import logger from "../../logger.js";
12
import { TestStatus, FailedTestInfo, TestRun, TestDetails } from "./types.js";
23

34
export async function getTestIds(
@@ -56,7 +57,7 @@ export async function getTestIds(
5657
// Return unique failed test IDs
5758
return allFailedTests;
5859
} catch (error) {
59-
console.error("Error fetching failed tests:", error);
60+
logger.error("Error fetching failed tests:", error);
6061
throw error;
6162
}
6263
}

0 commit comments

Comments
 (0)