summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-04-01 17:46:33 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:30 +0200
commit2511c32e61c2bd7500d3e1f55fc7e8666fc8361e (patch)
treeb89b2ddee074f971c9e8a70af5577bc001072c66 /apps/encryption/lib
parentee53ba5ed6e41cc997ed07b1f47305804d607afd (diff)
downloadnextcloud-server-2511c32e61c2bd7500d3e1f55fc7e8666fc8361e.tar.gz
nextcloud-server-2511c32e61c2bd7500d3e1f55fc7e8666fc8361e.zip
add more descriptive message to the exception, will be displayed to the user
Diffstat (limited to 'apps/encryption/lib')
-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 82c7829ecbd..e705611fa6e 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', 0);
+ throw new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0);
}
return $key;
}