diff options
Diffstat (limited to 'models/admin.go')
-rw-r--r-- | models/admin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/admin.go b/models/admin.go index 275fff2773..f75428ad4e 100644 --- a/models/admin.go +++ b/models/admin.go @@ -65,7 +65,7 @@ func removeAllWithNotice(e Engine, title, path string) { desc := fmt.Sprintf("%s [%s]: %v", title, path, err) log.Warn(desc) if err = createNotice(e, NoticeRepository, desc); err != nil { - log.Error(4, "CreateRepositoryNotice: %v", err) + log.Error("CreateRepositoryNotice: %v", err) } } } |