From bd2cfd22e38024eecb338c7340a07eaff65addc4 Mon Sep 17 00:00:00 2001
From: Benjamin Wenger <ben@elixxir.ioo>
Date: Wed, 30 Jun 2021 15:44:34 -0700
Subject: [PATCH] added better logging on newClient call

---
 api/client.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/client.go b/api/client.go
index 20ccffacd..062080589 100644
--- a/api/client.go
+++ b/api/client.go
@@ -78,7 +78,7 @@ type Client struct {
 // merely creates a new cryptographic identity for adding such information
 // at a later date.
 func NewClient(ndfJSON, storageDir string, password []byte, registrationCode string) error {
-	jww.INFO.Printf("NewClient()")
+	jww.INFO.Printf("NewClient(dir: %s)", storageDir)
 	// Use fastRNG for RNG ops (AES fortuna based RNG using system RNG)
 	rngStreamGen := fastRNG.NewStreamGenerator(12, 3, csprng.NewSystemRNG)
 	rngStream := rngStreamGen.GetStream()
-- 
GitLab