Fix macos run mesh-ui plist RIVM-20

This commit is contained in:
Mihail Slobodyanuk 2022-12-12 14:14:11 +02:00
parent 0af5f281ea
commit ec6e722c1c

View file

@ -113,7 +113,7 @@ func main() {
nopanic(errors.New("Index file not found: " + err.Error()))
}
if stat, err := os.Stat(confui.IndexHtml); err != nil {
nopanic(errors.New("Index file not found or permissians denied: " + err.Error()))
nopanic(errors.New(fmt.Sprintf("Index file %v not found or permissians denied: %v", confui.IndexHtml, err.Error())))
} else if stat.IsDir() {
nopanic(errors.New(fmt.Sprintf("Index file %v not found", confui.IndexHtml)))
}