mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 08:02:36 +09:00 
			
		
		
		
	Don't report signal: killed errors in serviceRPC (#18850)
Fix #18849 Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
		@@ -495,7 +495,9 @@ func serviceRPC(ctx gocontext.Context, h serviceHandler, service string) {
 | 
				
			|||||||
		Stdin:   reqBody,
 | 
							Stdin:   reqBody,
 | 
				
			||||||
		Stderr:  &stderr,
 | 
							Stderr:  &stderr,
 | 
				
			||||||
	}); err != nil {
 | 
						}); err != nil {
 | 
				
			||||||
 | 
							if err.Error() != "signal: killed" {
 | 
				
			||||||
			log.Error("Fail to serve RPC(%s) in %s: %v - %s", service, h.dir, err, stderr.String())
 | 
								log.Error("Fail to serve RPC(%s) in %s: %v - %s", service, h.dir, err, stderr.String())
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
		return
 | 
							return
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user