Specify when failed to open userinfo database

This commit is contained in:
Qian Wang 2019-01-12 17:05:55 +00:00
parent 0544364a8e
commit 95c3dbfcf2
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ func (sta *State) ParseConfig(conf string) (err error) {
up, err := usermanager.MakeUserpanel(preParse.DatabasePath, preParse.BackupDirPath)
if err != nil {
return err
return errors.New("Attempting to open database: " + err.Error())
}
sta.Userpanel = up