]> source.dussan.org Git - nextcloud-server.git/commit
Graceful error handling and logging 1526/head
authorLukas Reschke <lukas@statuscode.ch>
Sun, 25 Sep 2016 16:58:05 +0000 (18:58 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Mon, 26 Sep 2016 10:25:45 +0000 (12:25 +0200)
commit2ecf5722ec98371be526fd72d67dd63308eaa2dd
tree8b170cc61cc2ae9fdda6deb0ebc3b1de07dce42a
parente0dd6768be6dee144381e9159696a59c1863508d
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