mirror of https://github.com/cbeuw/Cloak
Specify when failed to open userinfo database
This commit is contained in:
parent
0544364a8e
commit
95c3dbfcf2
|
|
@ -100,7 +100,7 @@ func (sta *State) ParseConfig(conf string) (err error) {
|
||||||
|
|
||||||
up, err := usermanager.MakeUserpanel(preParse.DatabasePath, preParse.BackupDirPath)
|
up, err := usermanager.MakeUserpanel(preParse.DatabasePath, preParse.BackupDirPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return errors.New("Attempting to open database: " + err.Error())
|
||||||
}
|
}
|
||||||
sta.Userpanel = up
|
sta.Userpanel = up
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue