summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-06 16:58:45 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-09-06 16:58:45 +0200
commit9be031fda160f7bb8e3294ab6620a1510828bd97 (patch)
tree958b58d9e2d6334406c040511d7a4a348f54a4a5
parent40f8ecb5bf827e6ef071a47f5b6e33bba024e5f7 (diff)
State: Do not append 'see the log file' in location error
-rw-r--r--state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.go b/state.go
index c949753..9a077f6 100644
--- a/state.go
+++ b/state.go
@@ -197,7 +197,7 @@ func (state *VPNState) askSecureLocation() error {
// The state has changed, meaning setting the secure location was not successful
if state.FSM.Current != fsm.ASK_LOCATION {
// TODO: maybe a custom type for this errors.new?
- return &types.WrappedErrorMessage{Message: "failed setting secure location", Err: errors.New("failed setting secure location due to state change. See the log file for more information")}
+ return &types.WrappedErrorMessage{Message: "failed setting secure location", Err: errors.New("failed setting secure location due to state change")}
}
return nil
}