Skip to content

Commit 5374427

Browse files
committed
chore: suppress DevTools CDP command errors
1 parent 8e90a92 commit 5374427

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/DevtoolsUtils.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
type IssuesManagerEventTypes,
1111
MarkdownIssueDescription,
1212
Marked,
13+
ProtocolClient,
1314
Common,
1415
I18n,
1516
} from '../node_modules/chrome-devtools-frontend/mcp/mcp.js';
@@ -125,6 +126,9 @@ export function mapIssueToMessageObject(issue: AggregatedIssue) {
125126
};
126127
}
127128

129+
// DevTools CDP errors can get noisy.
130+
ProtocolClient.InspectorBackend.test.suppressRequestErrors = true;
131+
128132
I18n.DevToolsLocale.DevToolsLocale.instance({
129133
create: true,
130134
data: {

0 commit comments

Comments
 (0)