Skip to content
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

Add stacktrace reporting to AsyncVectorEnv #1119

Conversation

pseudo-rnd-thoughts
Copy link
Member

Description

Originally discussed in #182 with reminded in #1114 that the error reporting in AsyncVectorEnv is bad as the error occurs in another process.
To solve this problem, previously the exception type and string were printed however the most important detail is the tracestack.
The problem is that the traceback object can't be passed back

Therefore, this PR converts the traceback to a string that can be passed back which is printed.
Additionally, testing was added for this feature

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.

1 participant