summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib/session.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption/lib/session.php')
-rw-r--r--apps/encryption/lib/session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/lib/session.php b/apps/encryption/lib/session.php
index 5e973913769..82c7829ecbd 100644
--- a/apps/encryption/lib/session.php
+++ b/apps/encryption/lib/session.php
@@ -70,7 +70,7 @@ class Session {
public function getPrivateKey() {
$key = $this->session->get('privateKey');
if (is_null($key)) {
- throw new Exceptions\PrivateKeyMissingException('no private key stored in session');
+ throw new Exceptions\PrivateKeyMissingException('no private key stored in session', 0);
}
return $key;
}