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 Missing Metadata #508

Open
animex007 opened this issue Jun 18, 2024 · 1 comment
Open

Improve Error Handling for Missing Metadata #508

animex007 opened this issue Jun 18, 2024 · 1 comment

Comments

@animex007
Copy link

Description:
Currently, when metadata is missing in certain parts of the Archweb application, users are not provided with clear error messages. This can lead to confusion and difficulty in troubleshooting. Implementing improved error handling will ensure users receive informative and actionable feedback when metadata is missing.

Benefits:

  • Enhances user experience by providing clear guidance.
  • Facilitates easier debugging and resolution of issues.

Example:

  if not metadata:
    log_error("Metadata missing for package XYZ.")
    display_error("Required metadata is missing. Please contact support.")
@jelly
Copy link
Member

jelly commented Jun 19, 2024

What metadata is missing? Please provide a clear reproducer.

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

No branches or pull requests

2 participants