Skip to content

Commit e97f28e

Browse files
committed
fix: Broaden the decode guard to keep malformed KV rows non-fatal.
1 parent 2d21591 commit e97f28e

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
@@ -127,7 +127,7 @@ def _safe_fetchall(query: str, params: tuple = ()) -> list:
127127
continue
128128
try:
129129
parsed = json.loads(row["value"])
130-
130+
131131
except (json.JSONDecodeError, TypeError, ValueError) as e:
132132
payload_len, payload_fp = _kv_payload_log_meta(row["value"])
133133
_logger.warning(

0 commit comments

Comments
 (0)