summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorctrlaltca <>2012-08-29 11:09:03 +0000
committerctrlaltca <>2012-08-29 11:09:03 +0000
commit6477bde32245a3755cae7f19851166395a77e779 (patch)
treee525d9d38e7b2dcc9312e6e287ca41f2561bb69a /framework/Web
parentf4890e8916741e5c7b3472a7803d9a9c9d02f721 (diff)
removed debug from previous commit
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Services/TRpcService.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/Web/Services/TRpcService.php b/framework/Web/Services/TRpcService.php
index 1b52c06b..06849ea1 100644
--- a/framework/Web/Services/TRpcService.php
+++ b/framework/Web/Services/TRpcService.php
@@ -71,6 +71,8 @@ class TRpcService extends TService
if(($_rpcServerClass = $_properties->remove('server')) === null)
$_rpcServerClass = self::BASE_RPC_SERVER;
+ prado::using($_rpcServerClass);
+
$_rpcServerClassName = ($_pos = strrpos($_rpcServerClass, '.')) !== false ? substr($_rpcServerClass, $_pos + 1) : $_rpcServerClass;
if($_rpcServerClassName!==self::BASE_RPC_SERVER && !is_subclass_of($_rpcServerClassName, self::BASE_RPC_SERVER))
throw new TConfigurationException('rpcservice_rpcserver_invalid');
@@ -359,7 +361,6 @@ class TJsonRpcProtocol extends TRpcProtocol
}
catch(Exception $e)
{
- error_log(Prado::varDump($e));
return $this->createErrorResponse(new TRpcException('An internal error occured'));
}
}