From 6165b03b75064e7d2bcd693820bf01e219054d1d Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 12 Jun 2023 10:25:16 -0700 Subject: [PATCH] Initializing ErrorACN with an error --- templates/lib_template.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/lib_template.go b/templates/lib_template.go index 28ab26b..a7cc2b0 100644 --- a/templates/lib_template.go +++ b/templates/lib_template.go @@ -168,7 +168,8 @@ func _startCwtch(appDir string, torPath string) { globalTorPath = torPath settingsFile := app.LoadAppSettings(appDir) // start with an Error ACN - globalACN = connectivity.NewProxyACN(&connectivity.ErrorACN{}) + erracn := connectivity.NewErrorACN(fmt.Errorf("initializing tor")) + globalACN = connectivity.NewProxyACN(&erracn) application = app.NewApp(&globalACN, appDir, settingsFile) // Subscribe to all App Events...