add debug logs for the pool data entry

This commit is contained in:
Alfred Kamanda 2025-11-05 11:03:45 +03:00
parent 5fac27d00e
commit ba93bd9152
Signed by: Alfred-mk
GPG Key ID: E60B2165A97F4D41

View File

@ -65,6 +65,7 @@ func (h *MenuHandlers) GetPools(ctx context.Context, sym string, input []byte) (
// Write data entries
for key, value := range dataMap {
fmt.Println("writing: ", value, "into: ", key)
if err := userStore.WriteEntry(ctx, sessionId, key, []byte(value)); err != nil {
logg.ErrorCtxf(ctx, "Failed to write data entry for sessionId: %s", sessionId, "key", key, "error", err)
continue