redis-debug
This commit is contained in:
parent
7cd5929df2
commit
882ff39f28
|
@ -20,7 +20,7 @@ class RedisCache:
|
||||||
print("[redis] " + command + " " + " ".join(args))
|
print("[redis] " + command + " " + " ".join(args))
|
||||||
return await self._client.execute_command(command, *args, **kwargs)
|
return await self._client.execute_command(command, *args, **kwargs)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"[redis] error: {e}")
|
print(f"[redis] error: {e}" + command + " " + " ".join(args))
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user