Merge pull request #765 from NapNeko/fix/multi-forward-protocol-fetch

fix: #721
This commit is contained in:
手瓜一十雪
2025-02-05 19:08:08 +08:00
committed by GitHub
13 changed files with 508 additions and 105 deletions

View File

@@ -66,7 +66,7 @@ export abstract class ConfigBase<T> {
private handleError(e: unknown, message: string): void {
if (e instanceof SyntaxError) {
this.core.context.logger.logError(`[Core] [Config] 操作配置文件格式错误,请检查配置文件:`, e.message);
this.core.context.logger.logError('[Core] [Config] 操作配置文件格式错误,请检查配置文件:', e.message);
} else {
this.core.context.logger.logError(`[Core] [Config] ${message}:`, (e as Error).message);
}