No need to first assign debugData = Unpooled.EMPTY_BUFFER first. Just return early if there is no cause or message.