diff options
-rw-r--r-- | framework/Util/TRpcClient.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Util/TRpcClient.php b/framework/Util/TRpcClient.php index c218c52d..cf8287d1 100644 --- a/framework/Util/TRpcClient.php +++ b/framework/Util/TRpcClient.php @@ -109,7 +109,7 @@ class TRpcClient extends TApplicationComponent */ protected function performRequest($serverUrl, $payload, $mimeType) { - if(($_response = file_get_contents($serverUrl, false, $this->createStreamContext($payload, $mimeType))) === false) + if(($_response = @file_get_contents($serverUrl, false, $this->createStreamContext($payload, $mimeType))) === false) throw new TRpcClientRequestException('RPC request failed'); if(substr($http_response_header[0], -6) != '200 OK') |