replicatedhq / replicatedhq/replicated
Getting "Not found" when app is not specified
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 36
- Forks
- 25
- Avg merge
- 9h 27m
- Merged PRs (30d)
- 3
Description
If I forget to specify the app with --app or REPLICATED_APP environment variable, I get a Not found error. It makes sense because the server returns 404, but it's confusing. I always have to think a little before figuring out what happened. It'd be great if it could specifically say the app name is missing.
Contributor guide
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.
Research direction
Start at the CLI entry point that handles --app and the REPLICATED_APP environment variable, then trace the missing-app request to where the generic Not found error is produced. Done means the missing-app case reports that the app name is required instead of only showing the server's 404 message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100