Skip to content

Restore fancy error reporting in Python #2410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2025
Merged

Restore fancy error reporting in Python #2410

merged 1 commit into from
May 15, 2025

Conversation

swernli
Copy link
Collaborator

@swernli swernli commented May 15, 2025

This change updates the way we pull features for miette such that the wasm crate preserves the ASCII-based "fancy-no-syscall" behavior needed for broader extension/web compatibility, while allowing the native pip crate to use full "fancy" and have colors and symbols for improved readability.

Before:
image

After:
image

Existing behavior (and reduced dependencies) preserved in VS Code:
image

Fixes #1898

This change updates the way we pull features for miette such that the wasm crate preserves the ASCII-based "fancy-no-syscall" behavior needed for broader extension/web compatibility, while allowing the native pip crate to use full "fancy" and have colors and symbols for improved readability.

Fixes #1898
@swernli swernli added this pull request to the merge queue May 15, 2025
Merged via the queue into main with commit c705738 May 15, 2025
18 checks passed
@swernli swernli deleted the swernli/issue1898 branch May 15, 2025 20:13
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.

Fancy error reporting degraded with latest update.
2 participants