🎨 Improve error message for installing marketplace package failed Fix https://github.com/siyuan-note/siyuan/issues/8507
This commit is contained in:
parent
318b430c3b
commit
e453f44d44
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ func downloadPackage(repoURLHash string, pushProgress bool, systemID string) (da
|
|||
}).Get(u)
|
||||
if nil != err {
|
||||
logging.LogErrorf("get bazaar package [%s] failed: %s", u, err)
|
||||
return nil, errors.New("get bazaar package failed: " + err.Error())
|
||||
return nil, errors.New("get bazaar package failed, please check your network")
|
||||
}
|
||||
if 200 != resp.StatusCode {
|
||||
logging.LogErrorf("get bazaar package [%s] failed: %d", u, resp.StatusCode)
|
||||
|
|
Loading…
Add table
Reference in a new issue