update log

This commit is contained in:
Ally Dale
2019-08-16 14:00:32 +08:00
parent 717771c2fa
commit 57b7a9e843

View File

@@ -388,7 +388,7 @@ func (slf *RedisModule) GetStringJSON(key string, st interface{}) error {
}
if err = json.Unmarshal(str, st); err != nil {
service.GetLogger().Printf(service.LEVER_ERROR, "GetStringJSON fail json.Unmarshal is error,reason:%v", err)
service.GetLogger().Printf(service.LEVER_ERROR, "GetStringJSON fail json.Unmarshal is error:%s,%s,reason:%v", key, string(str), err)
return err
}