Closed dennib closed 7 years ago
Ok, tried to join Fetching/Parsing code together again in fetch function (avoding tryFetch separate one), besides fetch function is now all try-catched - is this too messy? -.
Catch block now logs no hardcoded message, it shows error message
property instead, this is only a human friendly explanation of the error, I omitted entire error stack to avoid console spam, but it could be necessary, should I log it too?
Try-catching request to avoid unexpected process exit due to
Invalid URI
error thrown out