From: Bjoern Schiessle Date: Thu, 1 Aug 2013 11:51:33 +0000 (+0200) Subject: also write error message to the log X-Git-Tag: v5.0.10~7^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8ca8a587bcd44a94fbeb20a10461ee0fabdbcb34;p=nextcloud-server.git also write error message to the log --- diff --git a/apps/files_encryption/lib/helper.php b/apps/files_encryption/lib/helper.php index d3d4afff912..cbc5de41c6b 100755 --- a/apps/files_encryption/lib/helper.php +++ b/apps/files_encryption/lib/helper.php @@ -241,6 +241,7 @@ class Helper { if(openssl_pkey_new(array('private_key_bits' => 4096))) { return true; } else { + \OCP\Util::writeLog('Encryption library', 'openssl_pkey_new()fails: ' . openssl_error_string(), \OCP\Util::ERROR); return false; } }