Skip to content

Commit

Permalink
3.3.0: MAG-218: Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ébano Penha Andrello Lopes committed Apr 9, 2019
1 parent 05257bf commit 614b837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Helper/FulfillmentHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function postFulfillmentToSignifyd(\Magento\Sales\Model\Order\Shipment $s
$fulfillment->setMagentoStatus(Fulfillment::COMPLETED_STATUS);
$this->fulfillmentResourceModel->save($fulfillment);
}
} catch (Exception $e) {
} catch (\Exception $e) {
$this->logger->debug("Fulfillment error: {$e->getMessage()}");
return false;
}
Expand Down Expand Up @@ -340,7 +340,7 @@ public function getItemImage(\Magento\Sales\Model\Order\Shipment\Item $item)
try {
$imageUrl = $product->getImage();
$imageUrl = $product->getMediaConfig()->getMediaUrl($imageUrl);
} catch (Exception $e) {
} catch (\Exception $e) {
$imageUrl = null;
}

Expand Down

0 comments on commit 614b837

Please sign in to comment.