summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-20 17:52:09 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-20 17:52:09 +0200
commitbde4fff11d042119a283f070258ea9e3f55ad2c3 (patch)
tree9e02562328cd8eaf6fe280db2e6d667bea1efbfb
parente6bb5aac880fa0e71c1d81d4860d456424f622bc (diff)
State: SetSecureLocation fix wrong error traceback
-rw-r--r--state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.go b/state.go
index 2ec884d..6510b48 100644
--- a/state.go
+++ b/state.go
@@ -310,7 +310,7 @@ func (state *VPNState) SetSecureLocation(countryCode string) error {
state.Logger.Error(
fmt.Sprintf(
"Failed setting secure internet server with error: %s",
- GetErrorTraceback(serverErr),
+ GetErrorTraceback(setLocationErr),
),
)
state.goBackInternal()