befly 3.3.2 → 3.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -484,8 +484,6 @@ export class Loader {
484
484
  const singleApiTime = calcPerfTime(singleApiStart);
485
485
  failedApis++;
486
486
 
487
- const errorMessage = error?.message || '未知错误';
488
-
489
487
  // 记录详细错误信息
490
488
  Logger.error(`[${dirDisplayName}] 接口 ${apiPath} 加载失败 (${singleApiTime})`, error);
491
489
 
@@ -506,7 +504,7 @@ export class Loader {
506
504
  process.exit(1);
507
505
  }
508
506
  } catch (error: any) {
509
- Logger.error(`加载${dirDisplayName}接口时发生错误`, error);
507
+ Logger.error(`加载接口时发生错误`, error);
510
508
  process.exit(1);
511
509
  }
512
510
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "befly",
3
- "version": "3.3.2",
3
+ "version": "3.3.4",
4
4
  "description": "Befly - 为 Bun 专属打造的 TypeScript API 接口框架核心引擎",
5
5
  "type": "module",
6
6
  "private": false,
@@ -79,5 +79,5 @@
79
79
  "ora": "^9.0.0",
80
80
  "pathe": "^2.0.3"
81
81
  },
82
- "gitHead": "031b4a753e40d888648335a9ff4e085ba42010ad"
82
+ "gitHead": "851fbebc2d12dc550ebe06d6fa28b8aa769ed3ce"
83
83
  }