summaryrefslogtreecommitdiffstats
path: root/examples/simple-client
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple-client')
-rw-r--r--examples/simple-client/simple_client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple-client/simple_client.go b/examples/simple-client/simple_client.go
index 609a25d..c857768 100644
--- a/examples/simple-client/simple_client.go
+++ b/examples/simple-client/simple_client.go
@@ -52,7 +52,7 @@ func main() {
select {
case e := <-conev:
if e.State != core.Connected {
- log.Fatalln("ERROR: connecting to VPP failed:", err)
+ log.Fatalln("ERROR: connecting to VPP failed:", e.Error)
}
}