mirror of https://github.com/fantasticit/think.git
server: fix version service
This commit is contained in:
parent
65889f43b2
commit
0f81311ebf
|
@ -58,6 +58,7 @@ export class DocumentVersionService {
|
||||||
try {
|
try {
|
||||||
this.redis = await buildRedis(RedisDBEnum.documentVersion);
|
this.redis = await buildRedis(RedisDBEnum.documentVersion);
|
||||||
console.log('[think] 文档版本服务启动成功');
|
console.log('[think] 文档版本服务启动成功');
|
||||||
|
this.error = null;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.error = e.message;
|
this.error = e.message;
|
||||||
console.error(`[think] 文档版本服务启动错误: "${e.message}"`);
|
console.error(`[think] 文档版本服务启动错误: "${e.message}"`);
|
||||||
|
|
Loading…
Reference in New Issue