提交 1b6feec4 authored 作者: Varun Kumaar's avatar Varun Kumaar

refactor: Change error message

上级 2d00f67c
......@@ -24,7 +24,7 @@ let RedisService = class RedisService {
name = this.redisClient.defaultKey;
}
if (!this.redisClient.clients.has(name)) {
throw new redis_client_provider_1.RedisClientError(`client ${name} is not exists`);
throw new redis_client_provider_1.RedisClientError(`client ${name} does not exist`);
}
return this.redisClient.clients.get(name);
}
......
......@@ -14,7 +14,7 @@ export class RedisService {
name = this.redisClient.defaultKey;
}
if (!this.redisClient.clients.has(name)) {
throw new RedisClientError(`client ${name} is not exists`);
throw new RedisClientError(`client ${name} does not exist`);
}
return this.redisClient.clients.get(name);
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论