diff options
Diffstat (limited to 'core/Log.php')
-rw-r--r-- | core/Log.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Log.php b/core/Log.php index 2c67207b71..8bd2f5b95e 100644 --- a/core/Log.php +++ b/core/Log.php @@ -385,9 +385,9 @@ class Log extends Singleton return; } - if(!file_put_contents($this->logToFilePath, $message, FILE_APPEND)) { + if(!@file_put_contents($this->logToFilePath, $message, FILE_APPEND)) { $message = Filechecks::getErrorMessageMissingPermissions($this->logToFilePath); - throw new \Exception( $message ); + throw new \Exception($message); } } |