summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-07-11 15:52:46 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-07-11 15:52:46 +0200
commit71d24f33639a7ad7a76061115f13e781424c845a (patch)
treea554324552a4cc530879e322777ad10b0277adfa
parent3b4282861d8ac521dcb5cf79330fcc4eac59ba44 (diff)
Cli: Fix error traceback import
-rw-r--r--cmd/cli/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/cli/main.go b/cmd/cli/main.go
index d3d3dbb..3c262a0 100644
--- a/cmd/cli/main.go
+++ b/cmd/cli/main.go
@@ -10,7 +10,7 @@ import (
"path/filepath"
"strings"
- eduvpn "github.com/jwijenbergh/eduvpn-common"
+ "github.com/jwijenbergh/eduvpn-common"
)
type ServerTypes int8
@@ -213,8 +213,8 @@ func printConfig(url string, serverType ServerTypes) {
if configErr != nil {
// Show the usage of tracebacks and causes
- fmt.Println("Error getting config:", state.GetErrorTraceback(configErr))
- fmt.Println("Error getting config, cause:", state.GetErrorCause(configErr))
+ fmt.Println("Error getting config:", eduvpn.GetErrorTraceback(configErr))
+ fmt.Println("Error getting config, cause:", eduvpn.GetErrorCause(configErr))
return
}