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

Include cause of toolkit import failure #1157

Merged
merged 1 commit into from
Aug 11, 2022

Conversation

mdickinson
Copy link
Member

This PR updates the RuntimeError that appears when no toolkit can be loaded to include the immediate cause of the failure. The goal is to make debugging CI failures along these lines less painful: the RuntimeError is often caused by some obscure ImportError somewhere down the stack, and with the current code that import error is hidden from view in the CI output.

@corranwebster corranwebster merged commit 038d55d into main Aug 11, 2022
@corranwebster corranwebster deleted the report-toolkit-import-failure branch August 11, 2022 14:43
@corranwebster corranwebster added the needs backport to maint/* This issue needs to be backported to a maintenance branch label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs backport to maint/* This issue needs to be backported to a maintenance branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants