n0-computer / n0-computer/sendme
`sendme send .` causes silent exit without error message
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
sending current directory will cause a file occupied error while iterating to the db file that just created, and any errors will cause the program to exit silently.
In my opinion, an ad-hoc tool can show its raw errors regardless of whether the user can read them or not, but it can't ignore them and exit silently! The current approach is tantamount to unwraping on every Results and setting panic behavior to abort!
Contributor guide
No contributing guide indexed for this repository
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 from the send command entry point and reproduce sendme send . to observe the silent exit while the directory is being iterated. Trace how the file-occupied error and other Result errors are handled; done means the command reports the underlying error instead of exiting silently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100