fix: dual id/name matching for installed + console.error on all catches

This commit is contained in:
AskaEth committed 2026-07-27 09:31:26 +08:00
1 parent 1c73ec9db6
commit e3afb2ac9b
6 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ const Topbar = {
this._statusEl.className = `status-indicator ${wsStatus}`;
this._statusEl.querySelector('.status-text').textContent =
wsStatus === 'connected' ? `已连接 (${status.ws_clients})` : '未连接';
} catch (e) {}
} catch (e) { console.error(e); }
}
};