IntelliJ shows false error when finds ERROR in output
Hello,
I have a problem that I have not found in the web.
I have a gradle project that, as part of the build, compiles an Angular project. As part of the tests, such angular compilation tests the error management, which in turn, dumps the error on the javascript console; something like "ERROR xxxxxx".
The problem is that, when I launch the gradle tasks from IntelliJ, it interprets that, since the word ERROR is shown, it is an error and the output is colored red. The build itself passes as succesful, but the tests are marked in the gradle output as red (failed) and the icon is the red exclamation mark. This is annoying for the developers, because our mind is used to identify red=bad.
Edit: screenshot

It is happening in 2019.2.3, but did not happen in 2018.x.x. Do not know on other versions.
Any suggestion? Any way to configure the error parsing?
Thanks,
Javi
Please sign in to leave a comment.
Looks like a bug. Created the https://youtrack.jetbrains.com/issue/IDEA-230120 issue. Please follow it for updates.
Is it possible to have a sample project with minimal code or a Gradle task that would produce similar output? Thank you.