From 227f28d83a8b81c1b74dfe87ca8d9e93eba5d6b5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 9 Dec 2023 18:33:49 +0000 Subject: [PATCH] Show bad lists --- daemon.py | 4 +--- scripts/badtype | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/daemon.py b/daemon.py index 40c0bf939..dfa4c2d7e 100644 --- a/daemon.py +++ b/daemon.py @@ -2203,9 +2203,7 @@ class PubServer(BaseHTTPRequestHandler): if not isinstance(message_json[check_field], list): print('INBOX: WARN: To and Cc fields should be lists, ' + check_field + '=' + str(message_json[check_field])) -# self._400() -# self.server.postreq_busy = False -# return 3 + # NOTE: this does not prevent further processing if has_object_dict(message_json): if debug: diff --git a/scripts/badtype b/scripts/badtype index f0e8aa095..d04fd54fc 100755 --- a/scripts/badtype +++ b/scripts/badtype @@ -1,2 +1,2 @@ #!/bin/bash -journalctl -u epicyon -r | grep "WARN: type from\|is not a string\|should be a string" +journalctl -u epicyon -r | grep "WARN: type from\|is not a string\|should be a string\|should be lists"