添加全局错误处理机制,优化运行时错误日志记录,提升应用稳定性和错误追踪能力。

This commit is contained in:
discountry
2025-09-27 00:01:39 +08:00
parent 49d5d4f3b8
commit 2c62d2ed3e
4 changed files with 181 additions and 30 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
import "dotenv/config";
import React from "react";
import { render } from "ink";
import { App } from "./ui/App";
import { setupGlobalErrorHandlers } from "./runtime-errors";
setupGlobalErrorHandlers();
render(<App />);