Skip to content

feat(cython): Hide C++ stacktrace by default #70

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 11, 2025

Conversation

potatomashed
Copy link
Collaborator

This PR introduces an environment variable MLC_SHOW_CPP_STACKTRACES, which controls if CXX-side stacktrace is included when an exception is thrown. It's turned on only if it's value is 1. It means C++ stacktrace is hidden by default.

Should fix #68.

@potatomashed potatomashed marked this pull request as ready for review May 11, 2025 05:07
@potatomashed potatomashed merged commit 81cfdee into mlc-ai:main May 11, 2025
4 checks passed
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.

Hide C++ Stacktrace by Default
1 participant