diff options
author | Björn Svensson <bjorn.a.svensson@est.tech> | 2022-08-29 13:25:42 +0200 |
---|---|---|
committer | Björn Svensson <bjorn.a.svensson@est.tech> | 2022-08-29 13:34:27 +0200 |
commit | b044eaa6a751d9354f1c05305be902a17c7da97c (patch) | |
tree | 62817b1d7816a89ed1c2a199c754d7de7a29b351 | |
parent | e0200b797bb9ea1cdb744f371c3de09f72558343 (diff) |
Copy error to redisAsyncContext when finding subscribe cb
-rw-r--r-- | async.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -535,6 +535,7 @@ static int __redisGetSubscribeCallback(redisAsyncContext *ac, redisReply *reply, return REDIS_OK; oom: __redisSetError(&(ac->c), REDIS_ERR_OOM, "Out of memory"); + __redisAsyncCopyError(ac); return REDIS_ERR; } |