diff --git a/contrib/ui/mesh-ui/webview.go b/contrib/ui/mesh-ui/webview.go index f34e6401..a68b3acd 100644 --- a/contrib/ui/mesh-ui/webview.go +++ b/contrib/ui/mesh-ui/webview.go @@ -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))) }