diff --git a/playlet-lib/src/components/Web/WebServer/Http/HttpConnection.bs b/playlet-lib/src/components/Web/WebServer/Http/HttpConnection.bs index 6b90ef47..cd872c75 100644 --- a/playlet-lib/src/components/Web/WebServer/Http/HttpConnection.bs +++ b/playlet-lib/src/components/Web/WebServer/Http/HttpConnection.bs @@ -174,7 +174,7 @@ namespace Http function SetState(newState as Http.HttpConnectionState) if m.state <> newState - LogDebug("state change" + Stri(m.state) + " ->" + Stri(newState)) + ' LogDebug("state change" + Stri(m.state) + " ->" + Stri(newState)) m.state = newState end if end function diff --git a/playlet-lib/src/source/utils/Logging.bs b/playlet-lib/src/source/utils/Logging.bs index 4e98db12..8ddb3a38 100644 --- a/playlet-lib/src/source/utils/Logging.bs +++ b/playlet-lib/src/source/utils/Logging.bs @@ -49,7 +49,8 @@ end function function AssocArrayToString(dict as object) as string result = "{" - count = dict.count() + ' This is in case the dictionary has a `count` key + count = dict.ifAssociativeArray.count() i = 0 for each key in dict result += key + ": " + ToString(dict[key])