Always throw a RuntimeError on error response
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
Research direction
Start in src/aerie_cli/aerie_host.py around lines 74-77 and trace how an HTTP 200 response containing an error is handled. Done means that this error response raises RuntimeError so applications using the Python API can handle it, rather than only printing the error message.
Written by the indexing model from the issue text.
Description
Currently, "valid" (i.e., HTTP return 200) responses are handed by printing the error message. This was an improvement in that, previously, the missing data would cause a cryptic error, but should be updated such that a RuntimeError is still thrown to allow proper error handling in applications that use the Python API.
- Dominant language
- Python
- Stars
- 5
- Forks
- 7
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NASA-AMMOS/plandev-cli
-
Aerie-cli commit hooks failingMay be free again @colin-lewis-19 claimed this 329 days ago, and no pull request is open. Open
NASA-AMMOS/plandev-cli#182 · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
NASA-AMMOS/plandev-cli#180 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
NASA-AMMOS/plandev-cli#177 ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
NASA-AMMOS/plandev-cli#176 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
NASA-AMMOS/plandev-cli#171 ·
All issues in NASA-AMMOS/plandev-cli
Similar issues
-
intake mcp-intake needs-human-review priority:high type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Ikalus1988/MisakaNet#6081 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
521xueweihan/HelloGitHub#4655 ·
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount duePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 79/100
developmentseed/titiler-covjson#164 ·
Maintainers usually reply within 1 day
-
area/install bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day