opensafely-core / opensafely-core/opensafely-cli

Improve error message for codelists that cannot be downloaded

Open
#373 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2
Forks
5
Avg merge
2d 1h
Merged PRs (30d)
4

Description

Linked to https://github.com/opensafely-core/opencodelists/issues/2885 and https://github.com/opensafely-core/opencodelists/issues/2812

If a codelist can't be downloaded because it has unsupported headers, the error message is uninformative. It should be updated to better explain to users what is happening.

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.

Research direction

Start by reading the linked issues 2885 and 2812 for the codelist download failure and expected explanation. Then locate the CLI handling for unsupported headers and update the resulting error message so users understand why the codelist cannot be downloaded.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.