mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-30 18:52:12 +08:00
fix: report legacy TLS subscription failures
This commit is contained in:
@@ -292,7 +292,6 @@ const ProfilePage = () => {
|
||||
setUrl('')
|
||||
await performRobustRefresh()
|
||||
}
|
||||
|
||||
try {
|
||||
// 尝试正常导入
|
||||
await importProfile(url)
|
||||
@@ -300,6 +299,11 @@ const ProfilePage = () => {
|
||||
} catch (initialErr) {
|
||||
console.warn('[订阅导入] 首次导入失败:', initialErr)
|
||||
|
||||
if (String(initialErr).toLowerCase().includes('legacy tls')) {
|
||||
showNotice.error(String(initialErr))
|
||||
return
|
||||
}
|
||||
|
||||
showNotice.info('profiles.page.feedback.notifications.importRetry')
|
||||
try {
|
||||
// 使用自身代理尝试导入
|
||||
|
||||
Reference in New Issue
Block a user