mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-10 16:58:08 +00:00
添加全局错误处理机制,优化运行时错误日志记录,提升应用稳定性和错误追踪能力。
This commit is contained in:
+3
-1
@@ -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 />);
|
||||
|
||||
Reference in New Issue
Block a user