Commit d29401ac authored by Cyril L'Orphelin's avatar Cyril L'Orphelin
Browse files

Update Query.php

parent dff9e168
......@@ -10,7 +10,7 @@ namespace Lavoisier;
use \Lavoisier\Hydrators\DefaultHydrator;
use \Lavoisier\Exceptions\HTTPStatusException;
use \Lavoisier\Exceptions\CurlLException;
use \Lavoisier\Exceptions\CurlException;
use Lavoisier\Hydrators\IHydrator;
class Query
......@@ -345,7 +345,7 @@ class Query
}
if (isset($resCURL['last_curl_error']) && (!empty($resCURL['last_curl_error']))) {
throw new CurlLException($this, $resCURL['last_curl_error']);
throw new CurlException($this, $resCURL['last_curl_error']);
}
if (($this->operation === 'lavoisier')) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment