Skip to content

Exception message is empty when required command options is missing #114

New issue

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

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

Already on GitHub? # to your account

Closed
Matthiee opened this issue Jan 2, 2021 · 0 comments · Fixed by #115
Closed

Exception message is empty when required command options is missing #114

Matthiee opened this issue Jan 2, 2021 · 0 comments · Fixed by #115
Assignees
Labels
bug Something isn't working Customer Reported Bugs reported by customers

Comments

@Matthiee
Copy link
Member

Matthiee commented Jan 2, 2021

When a CommandParseException occures the message is hardcoded to be empty.

: base(command, "", new AggregateException(innerExceptions))

This results in the printed errors to being empty.

@Matthiee Matthiee added bug Something isn't working Customer Reported Bugs reported by customers labels Jan 2, 2021
@Matthiee Matthiee self-assigned this Jan 2, 2021
Matthiee added a commit that referenced this issue Jan 3, 2021
Matthiee added a commit that referenced this issue Jan 3, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working Customer Reported Bugs reported by customers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant