Update src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_net_command.py

Co-authored-by: Mike Fährmann <mike_faehrmann@web.de>
This commit is contained in:
Rich Chiodo 2025-02-12 10:25:27 -08:00 committed by GitHub
parent f7f754dab6
commit 244f830871
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -80,7 +80,7 @@ class NetCommand(_BaseNetCommand):
try:
text = json.dumps(as_dict)
except TypeError:
text = json.dumps(as_dict, default=lambda o: str(o))
text = json.dumps(as_dict, default=str)
assert isinstance(text, str)