Skip to content

Commit 4721900

Browse files
paulirishDevtools-frontend LUCI CQ
authored andcommitted
RPP: Log AICalltree case as warning to avoid e2e flake
Example: https://ci.chromium.org/ui/p/devtools-frontend/builders/ci/Stand-alone%20Linux/19140/overview Change-Id: I3131103016038497f893699c62373e0523188cac Bug: 390507733 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6216159 Commit-Queue: Connor Clark <[email protected]> Auto-Submit: Paul Irish <[email protected]> Reviewed-by: Connor Clark <[email protected]>
1 parent 7c95732 commit 4721900

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

front_end/panels/timeline/utils/AICallTree.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class AICallTree {
7676
}
7777

7878
if (!threadEvents) {
79-
console.error(`AICallTree: could not find thread for selected entry: ${selectedEvent}`);
79+
console.warn(`AICallTree: could not find thread for selected entry: ${selectedEvent}`);
8080
return null;
8181
}
8282
const overlappingEvents = threadEvents.filter(e => Trace.Helpers.Timing.eventIsInBounds(e, selectedEventBounds));
@@ -98,7 +98,7 @@ export class AICallTree {
9898
});
9999

100100
if (selectedNode === null) {
101-
console.error(`Selected event ${selectedEvent} not found within its own tree.`);
101+
console.warn(`Selected event ${selectedEvent} not found within its own tree.`);
102102
return null;
103103
}
104104
const instance = new AICallTree(selectedNode, rootNode, parsedTrace);

0 commit comments

Comments
 (0)