Fix: Filter empty entries from journal protocol
This commit is contained in:
@@ -116,7 +116,7 @@ class ThreadedStreamHandler(logging.Handler):
|
||||
def _encode_journal(data):
|
||||
msg = b""
|
||||
for key, value in data.items():
|
||||
if key is None:
|
||||
if value is None:
|
||||
continue
|
||||
key = key.encode()
|
||||
value = str(value).encode()
|
||||
|
||||
Reference in New Issue
Block a user