From 0af5f281ea2fff32e5226c722b1f9a1f2772716b Mon Sep 17 00:00:00 2001 From: Mihail Slobodyanuk Date: Mon, 12 Dec 2022 14:12:41 +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 b5d523f4..f34e6401 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 { - panic(errors.New("Index file not found or permissians denied: " + err.Error())) + nopanic(errors.New("Index file not found or permissians denied: " + err.Error())) } else if stat.IsDir() { nopanic(errors.New(fmt.Sprintf("Index file %v not found", confui.IndexHtml))) }