Ver código fonte

[Minor] Log error in a more straightforward way

tags/2.1
Vsevolod Stakhov 4 anos atrás
pai
commit
9682b43cac
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      src/lua/lua_redis.c

+ 2
- 1
src/lua/lua_redis.c Ver arquivo

@@ -999,7 +999,8 @@ rspamd_lua_redis_prepare_connection (lua_State *L, gint *pcbref, gboolean is_asy
ud->ctx = NULL;
}
else {
msg_err_task_check ("cannot connect to redis: unknown error");
msg_err_task_check ("cannot connect to redis (OS error): %s",
strerror (errno));
}

REDIS_RELEASE (ctx);

Carregando…
Cancelar
Salvar