Skip to content

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

@marstr

Description

@marstr
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions