From: Bjoern Schiessle Date: Wed, 1 Apr 2015 15:46:33 +0000 (+0200) Subject: add more descriptive message to the exception, will be displayed to the user X-Git-Tag: v8.1.0alpha1~78^2~36 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2511c32e61c2bd7500d3e1f55fc7e8666fc8361e;p=nextcloud-server.git add more descriptive message to the exception, will be displayed to the user --- 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; }