XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

fix(provider): replace bare except clause with except Exception in LMArena retry loop

59719afa
Anand Mall <anand@example.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/Provider/needs_auth/LMArena.py +1 -1
@@ -724,7 +724,7 @@ class LMArena(AsyncGeneratorProvider, ProviderModelMixin, AuthFileMixin):
724 724 _need_clear_cookies = True
725 725 debug.error(error)
726 726 continue
727 except:
727 except Exception:
728 728 raise
729 729 if args:
730 730 debug.log("Save args to cache file:", str(cache_file))