Skip to content

Commit

Permalink
config: utils: changed logtype in getVersionInfo()
Browse files Browse the repository at this point in the history
(it does not prevent msh from working)
  • Loading branch information
gekigek99 committed Mar 16, 2023
1 parent 39ec400 commit 3467f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config/config-utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (c *Configuration) loadIcon() *errco.MshLog {
func (c *Configuration) getVersionInfo() (string, int, *errco.MshLog) {
reader, err := zip.OpenReader(filepath.Join(c.Server.Folder, c.Server.FileName))
if err != nil {
return "", -1, errco.NewLog(errco.TYPE_ERR, errco.LVL_3, errco.ERROR_VERSION_LOAD, err.Error())
return "", -1, errco.NewLog(errco.TYPE_WAR, errco.LVL_3, errco.ERROR_VERSION_LOAD, err.Error())
}
defer reader.Close()

Expand Down

0 comments on commit 3467f9e

Please sign in to comment.