Note: for support questions, please use the forum. This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
I clasify this as bug, some might argue it's a future 🙄
What is the current behavior?
Some of the internal exception are not handled and bubble up to the user
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
+ aecli account address -P 123 build/wallet
file:///usr/local/lib/node_modules/@aeternity/aepp-cli/bin/utils/helpers.mjs:28
throw new Error('File not found');
^
Error: File not found
at readFile (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/bin/utils/helpers.mjs:28:15)
at readJSONFile (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/bin/utils/helpers.mjs:36:21)
at getWalletByPathAndDecrypt (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/bin/utils/account.mjs:66:19)
at initClientByWalletFile (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/bin/utils/cli.mjs:105:25)
at Module.getAddress (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/bin/actions/account.mjs:217:13)
at Command.<anonymous> (file:///usr/local/lib/node_modules/@aeternity/aepp-cli/bin/commands/account.mjs:84:205)
at Command.listener [as _actionHandler] (/usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/commander/lib/command.js:488:17)
at /usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/commander/lib/command.js:1227:65
at Command._chainOrCall (/usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/commander/lib/command.js:1144:12)
at Command._parseCommand (/usr/local/lib/node_modules/@aeternity/aepp-cli/node_modules/commander/lib/command.js:1227:27)
What is the expected behavior?
Get a user friendly error and exit status 1
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
CLI Version: v4.0.0
Node Version: v0.0.0
NPM Version: v0.0.0
Protocol Version: 1
Compiler version: v0.0.0
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. forum, telegram, etc)
Note: for support questions, please use the forum. This repository's issues are reserved for feature requests and bug reports.
What is the expected behavior? Get a user friendly error and exit status 1
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. forum, telegram, etc)