diff options
author | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-09-15 06:41:12 +0400 |
---|---|---|
committer | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-09-15 06:41:12 +0400 |
commit | d49aca6f069dc874dfd99ffddc11c6b08bf767d9 (patch) | |
tree | 2b3911be53e264ad725788a1bd3e0942b85c21c9 /core/API | |
parent | 8fa0f1ee298216583d8cb3122d82fed5a34a47e4 (diff) |
Remove debugging code from accidental commit.
Diffstat (limited to 'core/API')
-rw-r--r-- | core/API/Request.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/API/Request.php b/core/API/Request.php index 5dd3dca62d..5e9ba6d850 100644 --- a/core/API/Request.php +++ b/core/API/Request.php @@ -155,7 +155,7 @@ class Request $returnedValue = Proxy::getInstance()->call($apiClassName, $method, $this->request); $toReturn = $response->getResponse($returnedValue, $module, $method); - } catch (Exception $e) {$e = new Exception($e->getMessage() . $e->getTraceAsString()); + } catch (Exception $e) { $toReturn = $response->getResponseException($e); } return $toReturn; |