From: Jorge Pereira Date: Wed, 10 Jun 2015 18:02:06 +0000 (-0300) Subject: Improve the error messages in the rlm_redis X-Git-Tag: release_3_0_9~205 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1045%2Fhead;p=thirdparty%2Ffreeradius-server.git Improve the error messages in the rlm_redis --- diff --git a/src/modules/rlm_redis/rlm_redis.c b/src/modules/rlm_redis/rlm_redis.c index 309c9469ea..3d7386952e 100644 --- a/src/modules/rlm_redis/rlm_redis.c +++ b/src/modules/rlm_redis/rlm_redis.c @@ -62,6 +62,8 @@ static void *mod_conn_create(TALLOC_CTX *ctx, void *instance) conn = redisConnect(inst->hostname, inst->port); if (conn && conn->err) { + ERROR("rlm_redis (%s): Problems with redisConnect('%s', %d), %s", + inst->xlat_name, inst->hostname, inst->port, redisReplyReaderGetError(conn)); redisFree(conn); return NULL; }