seaside1 / jrule

openHAB Java Rules Engine
Eclipse Public License 2.0
29 stars 15 forks source link

for InvocationTargetException the get stacktrace has changed from get… #188

Closed querdenker2k closed 9 months ago

querdenker2k commented 10 months ago

for InvocationTargetException the get stacktrace has changed from getTargetException() to getCause() I changed the jdk from zulu to temurin and my stacktraces are lost. getTargetException() just gives me the exception message, not the stacktrace anymore. With the new implementation the caused by it logged twice now. I am afraid to remove the \ntarget: {} part that in some cases the caused by stacktrace isn't printed anymore in some jdk versions.

seaside1 commented 9 months ago

I agree, lets try it out, we can always change later if needed.