mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
config
This commit is contained in:
parent
984686e073
commit
5ddc04e992
1
pkg/common/db/cache/rockscache.go
vendored
1
pkg/common/db/cache/rockscache.go
vendored
@ -88,6 +88,7 @@ func getCache[T any](ctx context.Context, rcClient *rockscache.Client, key strin
|
||||
}
|
||||
err = json.Unmarshal([]byte(v), &t)
|
||||
if err != nil {
|
||||
log.ZError(ctx, "cache json.Unmarshal failed", err, "key", key, "value", v, "expire", expire)
|
||||
return t, utils.Wrap(err, "")
|
||||
}
|
||||
return t, nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user