mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 17:17:46 +01:00
modify error message
This commit is contained in:
parent
3e1bf8c862
commit
155f8dc1a8
@ -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++ {
|
||||
|
Loading…
Reference in New Issue
Block a user