add debug logs for the pool keys

This commit is contained in:
Alfred Kamanda 2025-11-04 15:27:15 +03:00
parent 37a1906ed1
commit 5fac27d00e
Signed by: Alfred-mk
GPG Key ID: E60B2165A97F4D41

View File

@ -44,7 +44,10 @@ func GetPoolData(ctx context.Context, store DataStore, sessionId string, input s
}
data := make(map[storedb.DataTyp]string)
fmt.Println("the keys:", keys)
for _, key := range keys {
fmt.Println("current key:", key)
value, err := store.ReadEntry(ctx, sessionId, key)
if err != nil {
return nil, fmt.Errorf("failed to get data key %x: %v", key, err)