Release Notes
onerror event in the window object to capture project errors. Then, it parses errors and analyze the heaps and stacks to automatically report the error information to the backend service. In this case, the report level is error; therefore, when the number of automatically reported errors reaches the threshold, Aegis will automatically trigger an alarm to help you find the exceptions promptly. As the report level is error, automatic reporting will also affect the project score.crossorigin attribute to the script tag; otherwise, Aegis cannot get the error details.Vue.config.errorHandler = function(err, vm, info) {console.log(`Error: ${err.toString()}\\nStack: ${err.stack}\\nInfo: ${info}`);aegis.error(`Error: ${err.toString()}\\nStack: ${err.stack}\\nInfo: ${info}`);};
unhandledrejection event to capture Promise errors that are not caught through catch. To ensure page stability, we recommend you catch all Promise errors.fetch) Request ExceptionXMLHttpRequest object to listen on each API request and will consider the following cases an exception: http status is greater than or equal to 400.http status is still 0 when a request ends, which usually occurs when the request fails.apiDetail API parameter to enable reporting.new Aegis({api: {apiDetail: true,},});
retcode ExceptionXMLHttpRequest object to get the API response. It also tries to get the retcode of the request in the response. If the retcode doesn't meet the expectation, the request will be considered exceptional and will be reported.window.onerror event. Aegis uses this feature to listen on the loading failures of following resources: <link> tag.<script> tag.<audio> and <video> tags.Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan