1
0
Fork 0
forked from forgejo/forgejo

Fix empty repository panic on send test webhook

This commit is contained in:
Unknwon 2016-08-15 05:53:47 -07:00
parent cc647ba9d5
commit 94392a7af3
8 changed files with 28 additions and 35 deletions

View file

@ -130,7 +130,7 @@ func CreatePost(ctx *context.Context, form auth.CreateRepoForm) {
AutoInit: form.AutoInit,
})
if err == nil {
log.Trace("Repository created[%d]: %s/%s", repo.ID, ctxUser.Name, repo.Name)
log.Trace("Repository created [%d]: %s/%s", repo.ID, ctxUser.Name, repo.Name)
ctx.Redirect(setting.AppSubUrl + "/" + ctxUser.Name + "/" + repo.Name)
return
}