BoxThatBeat / BoxThatBeat/obsidian-agile-task-notes
Improve Error Handling
- Dominant language
- TypeScript
- Stars
- 55
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
If an any error occurs when making HTTP requests (such as when the settings were setup incorrectly), it is given as a generic request error with a status but no clue as to what request failed. This issue should be resolved by adding try-catches for each request or something like this so that the request being made can be printed along with the error.
A further enhancement to this would be to have a settings validation script run to find any simple mistakes made by the user which can then be presented in a dialogue box to make it more user friendly.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the HTTP request code and settings handling in the plugin, then reproduce a request with incorrect settings to see the current generic error. Done should include enough request context in errors and, if the validation enhancement is pursued, clear feedback for simple settings mistakes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100