Logging fix

This commit is contained in:
Brahim Hadriche committed 2024-02-05 15:20:18 -05:00
1 parent 74082f406a
commit b076517c1b
2 files changed
+3 -2

No files matched your search

@@ -174,7 +174,7 @@ namespace Http
function SetState(newState as Http.HttpConnectionState) function SetState(newState as Http.HttpConnectionState)
if m.state <> newState if m.state <> newState
LogDebug("state change" + Stri(m.state) + " ->" + Stri(newState)) ' LogDebug("state change" + Stri(m.state) + " ->" + Stri(newState))
m.state = newState m.state = newState
end if end if
end function end function
+2 -1
View File
@@ -49,7 +49,8 @@ end function
function AssocArrayToString(dict as object) as string function AssocArrayToString(dict as object) as string
result = "{" result = "{"
count = dict.count() ' This is in case the dictionary has a `count` key
count = dict.ifAssociativeArray.count()
i = 0 i = 0
for each key in dict for each key in dict
result += key + ": " + ToString(dict[key]) result += key + ": " + ToString(dict[key])