Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Error message is extremely vague and does not inform user of the problem #52

Open
timstackblock opened this issue Jun 4, 2020 · 0 comments
Assignees
Labels
bug Something isn't working P3 bug Priority 3 There are workarounds, or the functionality is secondary

Comments

@timstackblock
Copy link
Contributor

Describe the bug
Error message is extremely vague and does not inform user of the problem

To Reproduce
Steps to reproduce the behavior:

  1. Go to terminal

  2. Navigate to the blockstack cli attempt a contract call

  3. Enter this command
    TWs-MacBook-Pro:~ tw$ blockstack call_contract_func ST28G8W0BRSA2ZNSDQZKNEHEYQ5M4QJZC2YJGVZWP statustim print 400 1 2bd261b885ad2be05e9c048786b1678e1820ee1574f3d01e75a5158e7a317ea201 -t

  4. 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

Screen Shot 2020-06-04 at 11 31 05 AM

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
@timstackblock timstackblock added bug Something isn't working P3 bug Priority 3 There are workarounds, or the functionality is secondary labels Jun 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working P3 bug Priority 3 There are workarounds, or the functionality is secondary
Projects
None yet
Development

No branches or pull requests

2 participants