]> source.dussan.org Git - nextcloud-server.git/commit
Graceful error handling and logging 1507/head
authorLukas Reschke <lukas@statuscode.ch>
Sun, 25 Sep 2016 16:58:05 +0000 (18:58 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Sun, 25 Sep 2016 17:03:42 +0000 (19:03 +0200)
commit19ad11cce436244e48f7a975113a7f246d9e6842
tree07aaf5fe35b4c0ca3ca9991bcc4d3809da60427b
parenta086011e00d088f213c95e78efbfd5f46f3c71dc
Graceful error handling and logging

Right now a failed "copyr" will result in the error log being spammed with not really helpful error messages. Also situations such as `$dir` returning `false` are not really caught.

This adds more error handling and logging to make debugging such situations easier.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
lib/private/legacy/util.php