mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-04-08 15:08:44 +00:00
fix: remove leftover old catch block
Clean up mismatched catch block from previous edit. Co-authored-by: Jason <159670257+Jasonzhu1207@users.noreply.github.com>
This commit is contained in:
@@ -259,7 +259,7 @@ class InsightService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 测试 API 连接,返回 { success, message }。
|
* 测<EFBFBD><EFBFBD><EFBFBD> API 连接,返回 { success, message }。
|
||||||
* 供设置页"测试连接"按钮调用。
|
* 供设置页"测试连接"按钮调用。
|
||||||
*/
|
*/
|
||||||
async testConnection(): Promise<{ success: boolean; message: string }> {
|
async testConnection(): Promise<{ success: boolean; message: string }> {
|
||||||
@@ -614,10 +614,6 @@ class InsightService {
|
|||||||
insightLog('WARN', `拉取上下文失败: ${(e as Error).message}`)
|
insightLog('WARN', `拉取上下文失败: ${(e as Error).message}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (e) {
|
|
||||||
console.warn('[InsightService] 拉取上下文失败:', e)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const triggerDesc =
|
const triggerDesc =
|
||||||
triggerReason === 'silence'
|
triggerReason === 'silence'
|
||||||
|
|||||||
Reference in New Issue
Block a user