SignalMethod function not getting executed

After a bunch of debugging i figured out the issue was because of deserialization of Summary object:

@Getter
@NoArgsConstructor
@AllArgsConstructor
public class Summary {
    private int totalItems;
    @Nullable
    private ErrorCode code;

    public Optional<ErrorCode> getErrorCode() {
        return Optional.ofNullable(code);
    }
}

This gets serialized fine and posted to the workflow as:

{totalItems:100, code:{value:null,empty:true,present:false}

But the deserialization back to the object fails. I was able to get it fixed by setting @JsonAutoDetect correctly

Anyways what made this difficult to debug was that there were no exceptions messages in the logs. Is there any way i can tap these internal exception/error messages into log4j?