diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-07-11 15:52:46 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-07-11 15:52:46 +0200 |
| commit | 71d24f33639a7ad7a76061115f13e781424c845a (patch) | |
| tree | a554324552a4cc530879e322777ad10b0277adfa /cmd/cli | |
| parent | 3b4282861d8ac521dcb5cf79330fcc4eac59ba44 (diff) | |
Cli: Fix error traceback import
Diffstat (limited to 'cmd/cli')
| -rw-r--r-- | cmd/cli/main.go | 6 |
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 } |
