Difficulty Debugging Errors in HttpClient
HttpClient uses
tryPromise internally which is making it a bit difficult to debug errors. Since for whatever silly javascript historical reason Error doesn't have any useful enumerable properties it means that when there's an error in my logs from HttpClient the actual underlying error doesn't get serialized to the output. I end up with {_tag: "RequestError", request: {...}, reason: "Transport", error: {}} which effectively hides the actual error.