This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Description
Describe the bug
Error message is extremely vague and does not inform user of the problem
To Reproduce
Steps to reproduce the behavior:
-
Go to terminal
-
Navigate to the blockstack cli attempt a contract call
-
Enter this command
TWs-MacBook-Pro:~ tw$ blockstack call_contract_func ST28G8W0BRSA2ZNSDQZKNEHEYQ5M4QJZC2YJGVZWP statustim print 400 1 2bd261b885ad2be05e9c048786b1678e1820ee1574f3d01e75a5158e7a317ea201 -t
-
See error message below that does not tell you why your entry failed or what to fix
Expected behavior
A clear and concise error message that informs the user of what is wrong, why the transaction failed and needs to be updated.
Screenshots

Terminal Log
TypeError: Cannot read property 'pipe' of null
at PromptUI.run (/Users/tw/.nvm/versions/node/v13.13.0/lib/node_modules/blockstack-cli/node_modules/inquirer/lib/ui/prompt.js:37:24)
at Object.promptModule [as prompt] (/Users/tw/.nvm/versions/node/v13.13.0/lib/node_modules/blockstack-cli/node_modules/inquirer/lib/inquirer.js:33:22)
at /Users/tw/.nvm/versions/node/v13.13.0/lib/node_modules/blockstack-cli/lib/cli.js:2234:37
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Cannot read property 'pipe' of null```
**Desktop (please complete the following information):**
- OS: 10.14.4
- Browser n/a