Skip to content

Commit

Permalink
Merge pull request #337 from mundipagg/hotfix/PAOP-185-improve-respon…
Browse files Browse the repository at this point in the history
…se-log

Improve response log
  • Loading branch information
yanpantoja authored Aug 2, 2021
2 parents d0b65d2 + e0594b5 commit ff84e02
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Concrete/integrityData

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Observer/AdminCustomerBeforeSave.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function execute(EventObserver $observer)
$customerService->updateCustomerAtMundipagg($platformCustomer);
} catch (\Exception $exception) {
$log = new LogService('CustomerService');
$log->info($exception->getMessage());
$log->info($exception->getResponseBody());

if ($exception->getCode() == 404) {
$log->info(
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "mundipagg/mundipagg-magento2-module",
"license": "MIT",
"version": "2.11.2",
"version": "2.11.3",
"type": "magento2-module",
"description": "Magento 2 Module Mundipagg",
"require": {
"php": ">=5.6.0",
"mundipagg/mundiapi": "^3.0",
"mundipagg/ecommerce-module-core": "2.8.5"
"mundipagg/ecommerce-module-core": "2.8.6"
},
"require-dev": {
"phpunit/phpunit": "4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="MundiPagg_MundiPagg" setup_version="2.11.2">
<module name="MundiPagg_MundiPagg" setup_version="2.11.3">
<sequence>
<module name="Magento_Sales" />
<module name="Magento_Payment" />
Expand Down

0 comments on commit ff84e02

Please sign in to comment.