Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cashews/backends/redis/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ class SafeRedis(_Redis):
async def execute_command(self, command, *args: Any, **kwargs: Any):
try:
return await super().execute_command(command, *args, **kwargs)
except NoScriptError:
# used by register_script functionality
# if we do not reraise it, than a Script wrapper will not work as expect
raise
except (
RedisConnectionError,
socket.gaierror,
Expand Down
Loading