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

Improve error handling for idaes get-extensions #1562

Open
lbianchi-lbl opened this issue Jan 30, 2025 · 0 comments
Open

Improve error handling for idaes get-extensions #1562

lbianchi-lbl opened this issue Jan 30, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request idaes-ext Priority:Normal Normal Priority Issue or PR

Comments

@lbianchi-lbl
Copy link
Contributor

Problem

Misleading error message is displayed if idaes get-extensions fails for spurious reasons

Image

Possible solution

  • Improve error handling so that more specific exceptions are raised and displayed to the user
  • Create dedicated exception subclass (e.g. UnsupportedPlatform) and only raise that when appropriate
    • e.g. if detected platform is not found after applying compatibility mapping
    • Possibly before a download is even attempted?
@lbianchi-lbl lbianchi-lbl added idaes-ext enhancement New feature or request labels Jan 30, 2025
@lbianchi-lbl lbianchi-lbl added the Priority:Normal Normal Priority Issue or PR label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request idaes-ext Priority:Normal Normal Priority Issue or PR
Projects
None yet
Development

No branches or pull requests

2 participants