fix(meshchat): specify exception types in command parsing to improve error handling
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user