From fec2f22680bf30070ae0922fb7dae0f949c5e399 Mon Sep 17 00:00:00 2001 From: Sudo-Ivan Date: Thu, 1 Jan 2026 18:03:53 -0600 Subject: [PATCH] fix(meshchat): specify exception types in command parsing to improve error handling --- meshchatx/meshchat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshchatx/meshchat.py b/meshchatx/meshchat.py index 504c8f0..23d9f8b 100644 --- a/meshchatx/meshchat.py +++ b/meshchatx/meshchat.py @@ -4029,7 +4029,7 @@ class ReticulumMeshChat: new_cmd[int(k, 16)] = v else: new_cmd[int(k)] = v - except: + except (ValueError, TypeError): new_cmd[k] = v commands.append(new_cmd)