summaryrefslogtreecommitdiffstats
path: root/models/admin.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-06-15 23:20:29 +0100
committerGitHub <noreply@github.com>2019-06-15 23:20:29 +0100
commitcde410521ce235d1fccbb576a877b129c2da68d4 (patch)
treed8306f8b936acb52980018e93e8ed90919bbeeeb /models/admin.go
parent0323122fd79f42296470bdc02dee57a5ef8e72c9 (diff)
downloadgitea-cde410521ce235d1fccbb576a877b129c2da68d4.tar.gz
gitea-cde410521ce235d1fccbb576a877b129c2da68d4.zip
Only warn on errors in deleting LFS orphaned files during repo deletion (#7213)
Diffstat (limited to 'models/admin.go')
-rw-r--r--models/admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/admin.go b/models/admin.go
index f75428ad4e..4480d11480 100644
--- a/models/admin.go
+++ b/models/admin.go
@@ -63,7 +63,7 @@ func RemoveAllWithNotice(title, path string) {
func removeAllWithNotice(e Engine, title, path string) {
if err := os.RemoveAll(path); err != nil {
desc := fmt.Sprintf("%s [%s]: %v", title, path, err)
- log.Warn(desc)
+ log.Warn(title+" [%s]: %v", path, err)
if err = createNotice(e, NoticeRepository, desc); err != nil {
log.Error("CreateRepositoryNotice: %v", err)
}