Log lines do not end with a full stop (#37527)
This commit is contained in:
1 parent
01fd33f173
commit
53545c984b
154 files changed
+254
-261
No files matched your search
@@ -45,7 +45,7 @@ class RequestDataValidator:
|
||||
data = await request.json()
|
||||
except ValueError:
|
||||
if not self._allow_empty or (await request.content.read()) != b"":
|
||||
_LOGGER.error("Invalid JSON received.")
|
||||
_LOGGER.error("Invalid JSON received")
|
||||
return view.json_message("Invalid JSON.", HTTP_BAD_REQUEST)
|
||||
data = {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user