obsidian-agile-task-notes icon indicating copy to clipboard operation
obsidian-agile-task-notes copied to clipboard

Improve Error Handling

Open BoxThatBeat opened this issue 2 years ago • 1 comments

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.

BoxThatBeat avatar Mar 02 '23 21:03 BoxThatBeat

For the settings validator, could potentially use this library? https://validatejs.org/

BoxThatBeat avatar Mar 02 '23 21:03 BoxThatBeat