We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a command fails with error messages, they are not printed to the command line. The issue is here: https://github.com/metaborg/spoofax-pie/blob/develop/core/spoofax.cli/src/main/java/mb/spoofax/cli/CommandRunner.java#L70. The toString method of KeyedMessages does not print all messages because that can be expensive. Instead, ExceptionPrinter#printMessages should be used to print the messages.
toString
KeyedMessages
ExceptionPrinter#printMessages
Run a command with an error on the command line.
The error messages to be printed.
The error messages are not printed, instead printing something like KeyedMessages(1 messages).
KeyedMessages(1 messages)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
When a command fails with error messages, they are not printed to the command line. The issue is here: https://github.com/metaborg/spoofax-pie/blob/develop/core/spoofax.cli/src/main/java/mb/spoofax/cli/CommandRunner.java#L70. The
toString
method ofKeyedMessages
does not print all messages because that can be expensive. Instead,ExceptionPrinter#printMessages
should be used to print the messages.What you did
Run a command with an error on the command line.
What you expected to happen
The error messages to be printed.
What actually happened
The error messages are not printed, instead printing something like
KeyedMessages(1 messages)
.Context
The text was updated successfully, but these errors were encountered: