mirror of https://github.com/stashapp/stash.git
Do not log ECONNRESET errors when serving transcoded video files (#4099)
This commit is contained in:
parent
953867f611
commit
06d76307c3
|
@ -266,7 +266,7 @@ func (sm *StreamManager) getTranscodeStream(ctx *fsutil.LockContext, options Tra
|
||||||
// process killing should be handled by command context
|
// process killing should be handled by command context
|
||||||
|
|
||||||
_, err := io.Copy(w, stdout)
|
_, err := io.Copy(w, stdout)
|
||||||
if err != nil && !errors.Is(err, syscall.EPIPE) {
|
if err != nil && !errors.Is(err, syscall.EPIPE) && !errors.Is(err, syscall.ECONNRESET) {
|
||||||
logger.Errorf("[transcode] error serving transcoded video file: %v", err)
|
logger.Errorf("[transcode] error serving transcoded video file: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue