diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-05-27 10:37:12 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-05-27 21:00:02 +0200 |
commit | 5549641f1f977ab2b105b8f9d7b8c6829c0e6d02 (patch) | |
tree | d2aed27bfc9ea13b29be2c9688f68b5e8763c8d0 /apps/encryption/lib/crypto | |
parent | 3de945d13da0016cd8c602867ff18a33c2534418 (diff) | |
download | nextcloud-server-5549641f1f977ab2b105b8f9d7b8c6829c0e6d02.tar.gz nextcloud-server-5549641f1f977ab2b105b8f9d7b8c6829c0e6d02.zip |
improve error messages displayed to the user
Diffstat (limited to 'apps/encryption/lib/crypto')
-rw-r--r-- | apps/encryption/lib/crypto/encryption.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/lib/crypto/encryption.php b/apps/encryption/lib/crypto/encryption.php index f527955b496..9094a84d4c8 100644 --- a/apps/encryption/lib/crypto/encryption.php +++ b/apps/encryption/lib/crypto/encryption.php @@ -387,7 +387,7 @@ class Encryption implements IEncryptionModule { '" is not able to read ' . $path; $hint = $this->l->t('Can not read this file, probably this is a shared file. Please ask the file owner to reshare the file with you.'); $this->logger->warning($msg); - throw new DecryptionFailedException($msg, 0, null, $hint); + throw new DecryptionFailedException($msg, $hint); } return false; } |