mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-24 05:16:09 +00:00
perf: 自动更新失败时提示手动更新方法
This commit is contained in:
@@ -9,4 +9,4 @@ def update_all():
|
|||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
raise Exception("dulwich模块未安装,请查看 https://github.com/RockChinQ/QChatGPT/issues/77")
|
raise Exception("dulwich模块未安装,请查看 https://github.com/RockChinQ/QChatGPT/issues/77")
|
||||||
except dulwich.porcelain.DivergedBranches:
|
except dulwich.porcelain.DivergedBranches:
|
||||||
raise Exception("分支不一致,自动更新仅支持master分支,请手动更新")
|
raise Exception("分支不一致,自动更新仅支持master分支,请手动更新(https://github.com/RockChinQ/QChatGPT/issues/76)")
|
||||||
|
|||||||
Reference in New Issue
Block a user