|
@@ -3,9 +3,9 @@
|
|
|
try {
|
|
|
Sentry.init({
|
|
|
dsn: "https://ea0521e5b3584ca1879b940c165916e4@jysentry.jydev.jianyu360.cn/3",
|
|
|
- release: "v9.6.4850",
|
|
|
+ release: "v4.8.791",
|
|
|
environment: "produce",
|
|
|
- sampleRate: 0.02
|
|
|
+ sampleRate: 0.1
|
|
|
});
|
|
|
Sentry.setTag("url", location.href);
|
|
|
var id = document.cookie.match(/(^|;)\s*ud_safe\s*=\s*([^;]+)/);
|
|
@@ -269,6 +269,7 @@
|
|
|
window.addEventListener('load', () => {
|
|
|
// 页面完全加载完毕
|
|
|
// console.log('load Failed resources:', failedResources)
|
|
|
+ sendError("[CDN] Has failedResources: " + failedResources.join('、'))
|
|
|
// console.log('load Extracted domains:', domains)
|
|
|
|
|
|
const hasBackCDN = Object.keys(BackCDNs).some(v => domains.includes(v))
|