Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.
This repository was 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

@timstackblock

Description

@timstackblock

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

Metadata

Metadata

Assignees

Labels

P3 bugPriority 3 There are workarounds, or the functionality is secondarybugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions