summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/k8splugin/internal/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/k8splugin/internal/utils.go b/src/k8splugin/internal/utils.go
index 681b1b52..1a1b8de7 100644
--- a/src/k8splugin/internal/utils.go
+++ b/src/k8splugin/internal/utils.go
@@ -88,7 +88,7 @@ func CheckDatabaseConnection() error {
}
err = db.NewEtcdClient(nil, c)
if err != nil {
- log.Printf("Etcd Client Initialization failed")
+ log.Printf("Etcd Client Initialization failed with error: %s", err.Error())
}
return nil
}
href='#n56'>56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104