mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
write error to OC_Log
This commit is contained in:
parent
34f93ac765
commit
b1f6bb36b0
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ class Hooks {
|
|||
if (isset($params['properties']['key'])) {
|
||||
Keymanager::setFileKey($params['path'], $params['properties']['key']);
|
||||
} else {
|
||||
\OC_Log::write( 'Encryption library', "Client side encryption is enabled but the client doesn't provide a encryption key for the file!", \OC_Log::ERROR );
|
||||
error_log("Client side encryption is enabled but the client doesn't provide a encryption key for the file!");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue