From 2511c32e61c2bd7500d3e1f55fc7e8666fc8361e Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Wed, 1 Apr 2015 17:46:33 +0200 Subject: [PATCH] add more descriptive message to the exception, will be displayed to the user --- apps/encryption/lib/session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5