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

Show original error message when plugin fails to load #1816

Closed
rwedge opened this issue Feb 26, 2024 · 0 comments · Fixed by #1817
Closed

Show original error message when plugin fails to load #1816

rwedge opened this issue Feb 26, 2024 · 0 comments · Fixed by #1817
Assignees
Labels
feature request Request for a new feature
Milestone

Comments

@rwedge
Copy link
Contributor

rwedge commented Feb 26, 2024

Problem Description

Currently when an entry point plugin fails to load, a UserWarning is diplayed with the following message template:

'Failed to load "{entry_point.name}" from "{entry_point.module_name}".'

This message template does not help much in ascertaining why the entry point failed to load

Expected behavior

The message template should be update to also include the error message that caused the failure, after the existing text.

'Failed to load "{entry_point.name}" from "{entry_point.module_name}" with error: {error_msg}'

@rwedge rwedge added feature request Request for a new feature new Automatic label applied to new issues labels Feb 26, 2024
@rwedge rwedge self-assigned this Feb 26, 2024
@npatki npatki removed the new Automatic label applied to new issues label Feb 26, 2024
@frances-h frances-h added this to the 1.11.0 milestone Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants