Hi
Sorry for delay.
PR merged!

On 21 December 2016 at 08:17, 'Lukasz Cwik' via mojohaus-dev <
[email protected]> wrote:

> Ping?
>
> On Wednesday, November 9, 2016 at 8:14:39 PM UTC-8, Lukasz Cwik wrote:
>>
>> I created the following PR (https://github.com/mojohaus/e
>> xec-maven-plugin/pull/66) to unwrap the InvocationTargetException
>> improving the error message which users get when their application fails.
>> The PR had been sitting around for a couple of weeks and was wondering how
>> to get traction to get it accepted and merged?
>> This PR removes the boilerplate found in the plugin output which preceeds
>> the users stacktrace:
>>
>> java.lang.reflect.InvocationTargetException
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>> ssorImpl.java:62)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>> thodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:498)
>>         at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:
>> 293)
>>         at java.lang.Thread.run(Thread.java:745)
>> ... <Users Stack Trace> ...
>>
>> making it just contain the stack trace from the users application.
>>
>> This also removes null: InvocationTargetException: from the plugin output
>> summary:
>>
>> An exception occured while executing the Java class. null:
>> InvocationTargetException: <Message from users exception>
>>
>> thus making it:
>>
>> An exception occured while executing the Java class. <Message from users
>> exception>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "mojohaus-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/mojohaus-dev/7d6b8a13-6115-42bd-93c3-5f0249c82ba8%40googlegroups.com
> <https://groups.google.com/d/msgid/mojohaus-dev/7d6b8a13-6115-42bd-93c3-5f0249c82ba8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> Olivier Lamy
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>

-- 
You received this message because you are subscribed to the Google Groups 
"mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojohaus-dev/CAPoyBqRkMdPJV4u%2BiD_BFjnoivqqnFiHJYqWxvk9R8p2Lfg1jQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to