-
Notifications
You must be signed in to change notification settings - Fork 36
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
IDEA doesn't show failure's root cause immediately #161
Comments
Maybe there is a better way to fail the build? I tried |
It has to do with how exceptions get bubbled up through Maven (that and the fact it's a bit obscured because I'm using reflection). Here is where that wrapping exception comes from within GMavenPlus. I'm open to suggestions if you have a better idea. I haven't used this feature before, but here's an idea <configuration>
<scripts>
<script><![CDATA[session.result.addException(new RuntimeException("Some reason"))]]></script>
</scripts>
</configuration> |
Maven 3.3.1, GMavenPlus 1.8.1, IDEA 2020.1.3.
I need to fail the build with an explanation. So I do:
This is what I see in Intellij's IDEA Run window after running the build:
No mention of my exception or its message. I have to click the run configuration name and find it there:
This may seem trivial, but still.
The text was updated successfully, but these errors were encountered: