From 63aed07259756a6dd6ced6656379dc064b84738d Mon Sep 17 00:00:00 2001 From: 81reap Date: Mon, 28 Sep 2026 21:28:41 -0400 Subject: [PATCH] fix(frontend) :: stop cascading failure on broken table Charts and select dropdowns setup is wrapped in a try/catch to avoid one failure from taking everything down. Now table has this too. --- frontend/src/sqlpage.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/sqlpage.js b/frontend/src/sqlpage.js index f09f2e91..5f89c8da 100644 --- a/frontend/src/sqlpage.js +++ b/frontend/src/sqlpage.js @@ -176,7 +176,11 @@ function sqlpage_table() { const tables = document.querySelectorAll("[data-pre-init=table]"); for (const r of tables) { r.removeAttribute("data-pre-init"); - setup_table(r); + try { + setup_table(r); + } catch (e) { + console.error(e); + } } }