refactor: add console to catch

This commit is contained in:
Catriel Müller
2026-02-20 10:55:58 -03:00
parent 3a0ef619ed
commit 9fb453a9af
@@ -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 []
}
}