mirror of
				https://github.com/linux-do/new-api.git
				synced 2025-11-04 13:23:42 +08:00 
			
		
		
		
	fix: fix gemini panic
This commit is contained in:
		@@ -18,6 +18,12 @@ type QuotaData struct {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func UpdateQuotaData() {
 | 
			
		||||
	// recover
 | 
			
		||||
	defer func() {
 | 
			
		||||
		if r := recover(); r != nil {
 | 
			
		||||
			common.SysLog(fmt.Sprintf("UpdateQuotaData panic: %s", r))
 | 
			
		||||
		}
 | 
			
		||||
	}()
 | 
			
		||||
	for {
 | 
			
		||||
		if common.DataExportEnabled {
 | 
			
		||||
			common.SysLog("正在更新数据看板数据...")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user