From: Bjoern Schiessle Date: Thu, 1 Aug 2013 11:51:33 +0000 (+0200) Subject: also write error message to the log X-Git-Tag: v6.0.0alpha2~347 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7aeb0068beeab6e2dbd129a13e2ccddac61c1c1b;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; } }