Update RequestProxy.php

This commit is contained in:
Alex Lushpai 2016-03-14 12:25:32 +03:00
parent 623416a85c
commit 1648e9f178

View File

@ -46,11 +46,23 @@ class RequestProxy
"[$method] " . $e->getMessage() . "\n",
$this->container->errorLog
);
return null;
} catch (InvalidJsonException $e) {
$this->logger->write(
"[$method] " . $e->getMessage() . "\n",
$this->container->errorLog
);
return null;
} catch (InvalidArgumentException $e) {
$this->logger->write(
"[$method] " . $e->getMessage() . "\n",
$this->container->errorLog
);
return null;
}
}
}