From 71d24f33639a7ad7a76061115f13e781424c845a Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 11 Jul 2022 15:52:46 +0200 Subject: Cli: Fix error traceback import --- cmd/cli/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd/cli') 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 } -- cgit v1.2.3