feat: 增强异常处理
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
This commit is contained in:
1 parent
623188d884
commit
d3a34dfdf9
2 files changed
+5
-1
No files matched your search
@@ -42,6 +42,8 @@ export async function NCoreInitFramework(
|
|||||||
if (!isExist && path) {
|
if (!isExist && path) {
|
||||||
FFmpegService.setFfmpegPath(path);
|
FFmpegService.setFfmpegPath(path);
|
||||||
}
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
logger.logError('[Ffmpeg] Error:', e);
|
||||||
});
|
});
|
||||||
//直到登录成功后,执行下一步
|
//直到登录成功后,执行下一步
|
||||||
const selfInfo = await new Promise<SelfInfo>((resolveSelfInfo) => {
|
const selfInfo = await new Promise<SelfInfo>((resolveSelfInfo) => {
|
||||||
|
|||||||
+3
-1
@@ -317,7 +317,9 @@ export async function NCoreInitShell() {
|
|||||||
if (!isExist && path) {
|
if (!isExist && path) {
|
||||||
FFmpegService.setFfmpegPath(path);
|
FFmpegService.setFfmpegPath(path);
|
||||||
}
|
}
|
||||||
});
|
}).catch(e => {
|
||||||
|
logger.logError('[Ffmpeg] Error:', e);
|
||||||
|
});
|
||||||
const basicInfoWrapper = new QQBasicInfoWrapper({ logger });
|
const basicInfoWrapper = new QQBasicInfoWrapper({ logger });
|
||||||
const wrapper = loadQQWrapper(basicInfoWrapper.getFullQQVesion());
|
const wrapper = loadQQWrapper(basicInfoWrapper.getFullQQVesion());
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user