From ec6e722c1cb66eea81326cea91458f39f1087041 Mon Sep 17 00:00:00 2001 From: Mihail Slobodyanuk Date: Mon, 12 Dec 2022 14:14:11 +0200 Subject: [PATCH] Fix macos run mesh-ui plist RIVM-20 --- contrib/ui/mesh-ui/webview.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) }