archweb icon indicating copy to clipboard operation
archweb copied to clipboard

Improve Error Handling for Missing Metadata

Open animex007 opened this issue 1 year ago • 2 comments

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.")

animex007 avatar Jun 18 '24 21:06 animex007

What metadata is missing? Please provide a clear reproducer.

jelly avatar Jun 19 '24 07:06 jelly

@animex007 👆

luzpaz avatar Jan 29 '25 19:01 luzpaz