feat: 电商工作台进度与生成记录健壮性优化
This commit is contained in:
@@ -2,15 +2,6 @@ import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import "./styles/index.css";
|
||||
import App from "./App";
|
||||
import { reportError } from "./utils/errorReporting";
|
||||
|
||||
window.addEventListener("unhandledrejection", (event) => {
|
||||
reportError(event.reason, "rejection");
|
||||
});
|
||||
|
||||
window.addEventListener("error", (event) => {
|
||||
if (event.error) reportError(event.error, "unhandled");
|
||||
});
|
||||
|
||||
const root = document.getElementById("root");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user