Skip to content

Conversation

@pavelfeldman
Copy link
Member

@vladlearns - do you want to follow up after this?

}
}

export function throwZodError(error: any): never {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check that error is instanceof ZodError if you export this function.

@vladlearns
Copy link
Contributor

@vladlearns - do you want to follow up after this?

Yeap, I'd love to @pavelfeldman!

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@pavelfeldman pavelfeldman merged commit e79a9c8 into microsoft:main Oct 22, 2025
33 of 35 checks passed
@github-actions
Copy link
Contributor

Test results for "MCP"

2635 passed, 108 skipped


Merge workflow run.

@github-actions
Copy link
Contributor

Test results for "tests 1"

2 failed
❌ [playwright-test] › runner.spec.ts:118 › should ignore subprocess creation error because of SIGINT @macos-latest-node18-1
❌ [playwright-test] › reporter-junit.spec.ts:129 › merged › should handle large number of console logs @windows-latest-node18-1

3 flaky ⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:1079 › cli codegen › should not throw csp directive violation errors `@firefox-ubuntu-22.04-node18`
⚠️ [firefox-page] › page/page-event-request.spec.ts:182 › should return response body when Cross-Origin-Opener-Policy is set `@firefox-ubuntu-22.04-node18`
⚠️ [playwright-test] › ui-mode-trace.spec.ts:397 › should work behind reverse proxy `@macos-latest-node18-1`

47139 passed, 815 skipped


Merge workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants