mirror of
				https://github.com/TeaOSLab/EdgeNode.git
				synced 2025-11-04 07:40:56 +08:00 
			
		
		
		
	对部分错误提示降级
This commit is contained in:
		@@ -108,7 +108,7 @@ func (this *HTTPRequest) doCacheRead() (shouldStop bool) {
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if !this.canIgnore(err) {
 | 
			
		||||
			remotelogs.Error("REQUEST_CACHE", "read from cache failed: "+err.Error())
 | 
			
		||||
			remotelogs.Warn("REQUEST_CACHE", "read from cache failed: "+err.Error())
 | 
			
		||||
		}
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
@@ -142,7 +142,7 @@ func (this *HTTPRequest) doCacheRead() (shouldStop bool) {
 | 
			
		||||
	})
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		if !this.canIgnore(err) {
 | 
			
		||||
			remotelogs.Error("REQUEST_CACHE", "read from cache failed: "+err.Error())
 | 
			
		||||
			remotelogs.Warn("REQUEST_CACHE", "read from cache failed: "+err.Error())
 | 
			
		||||
		}
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
@@ -234,7 +234,7 @@ func (this *HTTPRequest) doCacheRead() (shouldStop bool) {
 | 
			
		||||
					return true
 | 
			
		||||
				}
 | 
			
		||||
				if !this.canIgnore(err) {
 | 
			
		||||
					remotelogs.Error("REQUEST_CACHE", "read from cache failed: "+err.Error())
 | 
			
		||||
					remotelogs.Warn("REQUEST_CACHE", "read from cache failed: "+err.Error())
 | 
			
		||||
				}
 | 
			
		||||
				return
 | 
			
		||||
			}
 | 
			
		||||
@@ -277,7 +277,7 @@ func (this *HTTPRequest) doCacheRead() (shouldStop bool) {
 | 
			
		||||
				})
 | 
			
		||||
				if err != nil {
 | 
			
		||||
					if !this.canIgnore(err) {
 | 
			
		||||
						remotelogs.Error("REQUEST_CACHE", "read from cache failed: "+err.Error())
 | 
			
		||||
						remotelogs.Warn("REQUEST_CACHE", "read from cache failed: "+err.Error())
 | 
			
		||||
					}
 | 
			
		||||
					return true
 | 
			
		||||
				}
 | 
			
		||||
@@ -300,7 +300,7 @@ func (this *HTTPRequest) doCacheRead() (shouldStop bool) {
 | 
			
		||||
			})
 | 
			
		||||
			if err != nil {
 | 
			
		||||
				if !this.canIgnore(err) {
 | 
			
		||||
					remotelogs.Error("REQUEST_CACHE", "read from cache failed: "+err.Error())
 | 
			
		||||
					remotelogs.Warn("REQUEST_CACHE", "read from cache failed: "+err.Error())
 | 
			
		||||
				}
 | 
			
		||||
				return
 | 
			
		||||
			}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user