Ver Fonte

add log

supeng há 2 meses atrás
pai
commit
3e67824626
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      utils/google_ai_studio.py

+ 2 - 2
utils/google_ai_studio.py

@@ -126,9 +126,9 @@ class GoogleAI(object):
             os.remove(video_path)
             return text
         except Exception as e:
-            logger.error(f"[内容分析] 处理异常,异常信息{e}")
+            logger.error(f"[内容分析] 处理异常,异常信息{e} {api_key}")
             os.remove(video_path)
-            return f"[异常] {e}"
+            return f"[异常] {e} {api_key}"
 
 
 if __name__ == '__main__':