diff --git a/internal/webserver/controller/document/delete.go b/internal/webserver/controller/document/delete.go index e38b9dd..7fca4b9 100644 --- a/internal/webserver/controller/document/delete.go +++ b/internal/webserver/controller/document/delete.go @@ -22,7 +22,7 @@ func (d *Controller) Delete(c *fiber.Ctx) error { } if err := d.idx.RemoveFile(fullPath); err != nil { - log.Println(err) + log.Printf("error removing file %s from index: %s\n", fullPath, err.Error()) return fiber.ErrInternalServerError }