about summary refs log tree commit homepage
path: root/http_dav.c
diff options
context:
space:
mode:
Diffstat (limited to 'http_dav.c')
-rw-r--r--http_dav.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/http_dav.c b/http_dav.c
index 8487e13..ad7c80d 100644
--- a/http_dav.c
+++ b/http_dav.c
@@ -46,6 +46,8 @@ forbidden:
         PRESERVE_ERRNO(do {
                 mog_http_resp(mfd, "500 Internal Server Error", true);
         } while(0));
+        syslog(LOG_ERR, "Failed to unlink %s (in %s): %m",
+                path, http->svc->docroot);
 }
 
 void mog_http_mkcol(struct mog_fd *mfd, char *buf)