summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-07-20 16:25:57 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 08:20:17 +0200
commita5feb51a6afd92d5afdb5ff0e27641dd451a8e30 (patch)
tree04ebf1ccebb3d85fca8fcbb06246ba5dd797a011 /lib
parentede15f0988c02cf65f9d1a763d9bb2ea0edde2e9 (diff)
downloadnextcloud-server-a5feb51a6afd92d5afdb5ff0e27641dd451a8e30.tar.gz
nextcloud-server-a5feb51a6afd92d5afdb5ff0e27641dd451a8e30.zip
Fix OCS Exception
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/OCS/Exception.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/OCS/Exception.php b/lib/private/OCS/Exception.php
index 58b13f52df9..485c5c4d40f 100644
--- a/lib/private/OCS/Exception.php
+++ b/lib/private/OCS/Exception.php
@@ -25,7 +25,11 @@ namespace OC\OCS;
class Exception extends \Exception {
+ /** @var Result */
+ private $result;
+
public function __construct(Result $result) {
+ parent::__construct();
$this->result = $result;
}