From 2844839b623f281cf23a7f5d2d3584b0c65a2dab Mon Sep 17 00:00:00 2001
From: jkito <belter@riseup.net>
Date: Thu, 1 Aug 2024 00:28:39 +0530
Subject: [PATCH] gui: send error during stopVPN call to gui

during startVPN any error occuring are set but
this was not done for stopVPN
---
 pkg/backend/actions.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pkg/backend/actions.go b/pkg/backend/actions.go
index 08b2f980..0b7ffe8b 100644
--- a/pkg/backend/actions.go
+++ b/pkg/backend/actions.go
@@ -21,6 +21,7 @@ func stopVPN() {
 		log.Warn().
 			Err(err).
 			Msg("Could not stop VPN")
+		setError(err.Error())
 	}
 }
 
-- 
GitLab