mirror of
https://github.com/retailcrm/legacy.git
synced 2024-11-29 00:36:02 +03:00
Update RequestProxy.php
This commit is contained in:
parent
623416a85c
commit
1648e9f178
@ -46,11 +46,23 @@ class RequestProxy
|
|||||||
"[$method] " . $e->getMessage() . "\n",
|
"[$method] " . $e->getMessage() . "\n",
|
||||||
$this->container->errorLog
|
$this->container->errorLog
|
||||||
);
|
);
|
||||||
|
|
||||||
|
return null;
|
||||||
} catch (InvalidJsonException $e) {
|
} catch (InvalidJsonException $e) {
|
||||||
$this->logger->write(
|
$this->logger->write(
|
||||||
"[$method] " . $e->getMessage() . "\n",
|
"[$method] " . $e->getMessage() . "\n",
|
||||||
$this->container->errorLog
|
$this->container->errorLog
|
||||||
);
|
);
|
||||||
|
|
||||||
|
return null;
|
||||||
|
} catch (InvalidArgumentException $e) {
|
||||||
|
$this->logger->write(
|
||||||
|
"[$method] " . $e->getMessage() . "\n",
|
||||||
|
$this->container->errorLog
|
||||||
|
);
|
||||||
|
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user