Skip to content

Commit 70afd81

Browse files
committed
fix: Broaden the decode guard to keep malformed KV rows non-fatal.
1 parent 7e6dca2 commit 70afd81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/workspace_tabs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _safe_fetchall(query: str, params: tuple = ()) -> list:
145145
continue
146146
try:
147147
parsed = json.loads(row["value"])
148-
148+
149149
except (json.JSONDecodeError, TypeError, ValueError) as e:
150150
payload_len, payload_fp = _kv_payload_log_meta(row["value"])
151151
_logger.warning(

0 commit comments

Comments
 (0)