MC-45: Connects to Magento, sends products and manage errors return

How can you be sure that $this->session is not null here?