mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:43:03 +08:00 
			
		
		
		
	证书ocsp获取失败时,报告错误
This commit is contained in:
		@@ -72,6 +72,7 @@ func (this *SSLCertUpdateOCSPTask) Loop() error {
 | 
			
		||||
		var errString = ""
 | 
			
		||||
		if err != nil {
 | 
			
		||||
			errString = err.Error()
 | 
			
		||||
			remotelogs.Error("SSLCertUpdateOCSPTask", "update ocsp failed: "+errString)
 | 
			
		||||
		}
 | 
			
		||||
		err = models.SharedSSLCertDAO.UpdateCertOSCP(tx, int64(cert.Id), ocspData, errString)
 | 
			
		||||
		if err != nil {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user