modify error message

This commit is contained in:
wemeya 2016-05-18 15:07:54 +08:00
parent 3e1bf8c862
commit 155f8dc1a8

View File

@ -144,7 +144,7 @@ func (p *ProjectAPI) Get() {
}
}
if err != nil {
log.Errorf("Error occured in GetUserRelevantProjects, error: %v", err)
log.Errorf("Error occured in get projects info, error: %v", err)
p.CustomAbort(http.StatusInternalServerError, "Internal error.")
}
for i := 0; i < len(projectList); i++ {