Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core-tester-cli): Don't hide errors from HTTP failures (#2223)
Before this patch we would just get the following error, leaving one to wonder what went wrong: [1552298227459] ERROR (core-tester-cli/40747 on smle): Cannot destructure property `data` of 'undefined' or 'null'. After this patch: [1552299329734] ERROR (core-tester-cli/3408 on smle): http://localhost:4003/api/v2/node/configuration: connect ECONNREFUSED 127.0.0.1:4003 [1552299329735] ERROR (core-tester-cli/3408 on smle): Cannot destructure property `data` of 'undefined' or 'null'.
- Loading branch information