Improve error reporting

Open
#25 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start with the productmd.compose.Compose class and reproduce loading a compose when a referenced file is missing. Trace the lazy-loading path and its exception behavior; done means the missing-file failure is reported with a catchable exception instead of AttributeError.

Written by the indexing model from the issue text.

Description

When trying to load a compose with productmd.compose.Compose class, if some file is not found, an AttributeError gets reported. Because of the lazy loading, there is no reliable way to even catch such exceptions.

Dominant language
Python
Stars
11
Forks
34
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from release-engineering/productmd

All issues in release-engineering/productmd

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.