Debug for context

merge-requests/30/head
Bob Mottram 2023-12-09 18:38:01 +00:00
parent 66c16d5218
commit 2ac6a688ca
2 changed files with 3 additions and 2 deletions

View File

@ -2153,7 +2153,8 @@ class PubServer(BaseHTTPRequestHandler):
print('INBOX: checking valid context')
if not has_valid_context(message_json):
print('INBOX: ' +
'message arriving at inbox queue has no valid context')
'message arriving at inbox queue has no valid context ' +
str(message_json))
self._400()
self.server.postreq_busy = False
return 3

View File

@ -1,2 +1,2 @@
#!/bin/bash
journalctl -u epicyon -r | grep "WARN: type from\|is not a string\|should be a string\|should be lists\|should be strings"
journalctl -u epicyon -r | grep "WARN: type from\|is not a string\|should be a string\|should be lists\|should be strings\|has no valid context"