summaryrefslogtreecommitdiff
path: root/editor/debugger
diff options
context:
space:
mode:
authorMicky <micheledevita2@gmail.com>2022-10-11 00:27:23 +0200
committerMicky <micheledevita2@gmail.com>2022-10-11 00:27:23 +0200
commitfe56c1ff757d34747e6db07917b707534f09fe3a (patch)
tree3bcfae3e4ea6ece4476e3438646b905cc28fdfa1 /editor/debugger
parent28f642097a7986867e4fb7d697764efb4db753bf (diff)
Use `JSON::stringify` where possible
Diffstat (limited to 'editor/debugger')
-rw-r--r--editor/debugger/debug_adapter/debug_adapter_protocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/debugger/debug_adapter/debug_adapter_protocol.cpp b/editor/debugger/debug_adapter/debug_adapter_protocol.cpp
index 809c0c2cff..ae8752eb6d 100644
--- a/editor/debugger/debug_adapter/debug_adapter_protocol.cpp
+++ b/editor/debugger/debug_adapter/debug_adapter_protocol.cpp
@@ -656,7 +656,7 @@ int DebugAdapterProtocol::parse_variant(const Variant &p_var) {
bool DebugAdapterProtocol::process_message(const String &p_text) {
JSON json;
- ERR_FAIL_COND_V_MSG(json.parse(p_text) != OK, true, "Mal-formed message!");
+ ERR_FAIL_COND_V_MSG(json.parse(p_text) != OK, true, "Malformed message!");
Dictionary params = json.get_data();
bool completed = true;