[#242] Better error message when `tezos-client` program is missing
Description
Changes the error that is thrown when tezos-client
program in missing to be more helpful. Main changes are
- Wrap
readProcessWithExitCode
in helper function that catches the exception and prints a helpful error. - Add
ansi-terminal
package to color the printed error so that it will be noticed easily.
Related issue(s)
Resolves #242 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Sandeep.C.R