mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Still print error if user does not exist
This commit is contained in:
		@@ -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
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user