refactor:将所有运行提示替换为中文

This commit is contained in:
Mmx
2021-03-17 18:11:52 +08:00
parent 11513a58f1
commit 599bb7c3e5
3 changed files with 16 additions and 16 deletions

View File

@@ -50,7 +50,7 @@ func Sha1(content string) string {
func ErrHandler(err error) {
if err != nil {
fmt.Println("Error occurred")
fmt.Println("运行出错,状态异常")
if Global.Config.Settings.DemoMode {
panic(err)
}