This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Still print error if user does not exist
tags/v1.21.12.1
Flare
8 years ago
parent
1b59e6f910
commit
fd6be0d17e
No known key found for this signature in database
GPG Key ID:
762EE3D369C1A772
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
models/issue.go
+ 4
- 0
models/issue.go
View File
@@ -96,6 +96,10 @@ func (issue *Issue) loadAttributes(e Engine) (err error) {
if err != nil {
issue.PosterID = -1
issue.Poster = NewGhostUser()
if !IsErrUserNotExist(err) {
return fmt.Errorf("getUserByID.(poster) [%d]: %v", issue.PosterID, err)
}
return
}
}
Write
Preview
Loading…
Cancel
Save