-
Bug
-
Resolution: Done
-
Major
-
2.1.4.Final
-
None
For cases when message is null or empty, SysLogHandler doesn't publish event (there is a correspondent logic in doPublish method)
I expect even null or empty messages to be sent. Consider the following message logged to CONSOLE handler:
21:21:27,562 ERROR [ch.mobi.jes.jaxrs.exception.converter.internal.mapper.AbstractThrowableMapper] (default task-1) null: java.lang.IllegalArgumentException at java.util.Optional.orElseThrow(Optional.java:290) at ch.mobi.apsbau.pdfservice.entity.guarantee.GuaranteeType.resolve(GuaranteeType.java:36) at ch.mobi.apsbau.pdfservice.mapper.guarantee.GuaranteeMapper.toGuaranteeType(GuaranteeMapper.java:43) at ch.mobi.apsbau.pdfservice.mapper.guarantee.GuaranteeMapperImpl.toDraftDtoInternal(GuaranteeMapperImpl.java:49) at ch.mobi.apsbau.pdfservice.mapper.guarantee.GuaranteeMapper.toDraft(GuaranteeMapper.java:28) at ch.mobi.apsbau.pdfservice.boundary.guarantee.GuaranteeResourceImpl.generateDraft(GuaranteeResourceImpl.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)
As you can see from example above, the message is null and as a result the entire stacktrace is skipped and not published
- is incorporated by
-
WFCORE-4151 Upgrade jboss-logmanager from 2.1.4.Final to 2.1.5.Final
- Resolved
-
JBEAP-15600 Upgrade jboss-logmanager from 2.1.4.Final to 2.1.5.Final
- Closed