Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhelpful error message when providing bad "amount" value #79

Open
marstr opened this issue Feb 7, 2021 · 0 comments
Open

Unhelpful error message when providing bad "amount" value #79

marstr opened this issue Feb 7, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@marstr
Copy link
Owner

marstr commented Feb 7, 2021

System Information
Version:  v0.2.0-modified
System: windows/amd64
Go:  go1.15.5
Source Revision:  26f4536fb5d055965e1f30acae1be8ad16438d25

What did you do?

I tried to commit a transaction - but I accidentally used the "-a" flag instead of the "-t" flag to indicate the "Actual Time" of the transaction.

What did you expect to happen?

An error message indicating which argument was invalid, what it got, what it expected, that kinda thing.

What actually happened?

Error text that looks like its straight from the Go libraries error value showed up. Super unhelpful to a user, caused the author of this tool some pause, imagine what it would be like for other people.

Stack Trace
FATA[0000] unable to find balance in text
@marstr marstr added the bug Something isn't working label Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant