Skip to content

Commit

Permalink
Fix redis connect log formatting.
Browse files Browse the repository at this point in the history
Signed-off-by: Rule Timothy (VM/EMT3) <[email protected]>
  • Loading branch information
timrulebosch committed Aug 20, 2024
1 parent a28fa4c commit a370821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dse/modelc/adapter/transport/redispubsub.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ int32_t redispubsub_start(Endpoint* endpoint)
if (redis_ep->sub_ctx) {
redisAsyncContext* _ctx = redis_ep->sub_ctx;
if (_ctx->err) {
log_notice("Connection error: %s", _ctx->err);
log_notice("Connection error: %s", _ctx->errstr);
redisAsyncFree(redis_ep->sub_ctx);
redis_ep->sub_ctx = NULL;
} else {
Expand Down

0 comments on commit a370821

Please sign in to comment.