Skip to content
Snippets Groups Projects
Commit 2511c32e authored by Björn Schießle's avatar Björn Schießle Committed by Thomas Müller
Browse files

add more descriptive message to the exception, will be displayed to the user

parent ee53ba5e
Branches
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment