mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-30 17:14:40 +08:00
refactor: add console to catch
This commit is contained in:
@@ -330,7 +330,8 @@ export class HttpClient {
|
||||
async getNotifications(): Promise<KilocodeNotification[]> {
|
||||
try {
|
||||
return await this.request<KilocodeNotification[]>("GET", "/kilo/notifications")
|
||||
} catch {
|
||||
} catch (err) {
|
||||
console.warn("[Kilo] Failed to fetch notifications:", err)
|
||||
return []
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user