summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/Services/TRpcService.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/framework/Web/Services/TRpcService.php b/framework/Web/Services/TRpcService.php
index 50246abc..b1a27456 100644
--- a/framework/Web/Services/TRpcService.php
+++ b/framework/Web/Services/TRpcService.php
@@ -350,6 +350,10 @@ class TJsonRpcProtocol extends TRpcProtocol
{
return $this->createErrorResponse($e);
}
+ catch(THttpException $e)
+ {
+ throw $e;
+ }
catch(Exception $e)
{
prado::log();
@@ -468,6 +472,10 @@ class TXmlRpcProtocol extends TRpcProtocol
{
return $this->createErrorResponse($e);
}
+ catch(THttpException $e)
+ {
+ throw $e;
+ }
catch(Exception $e)
{
return $this->createErrorResponse(new TRpcException('An internal error occured'));