diff --git a/daemon.py b/daemon.py index e7f1b5433..ff171ef58 100644 --- a/daemon.py +++ b/daemon.py @@ -219,6 +219,11 @@ def readFollowList(filename: str) -> None: class PubServer(BaseHTTPRequestHandler): protocol_version = 'HTTP/1.1' + def handle_error(self, request, client_address): + print('ERROR: http server error: ' + str(request) + ', ' + + str(client_address)) + pass + def _isMinimal(self, nickname: str) -> bool: """Returns true if minimal buttons should be shown for the given account diff --git a/scripts/errors b/scripts/errors index 20108271b..33e91e3fe 100755 --- a/scripts/errors +++ b/scripts/errors @@ -1,5 +1,5 @@ #!/bin/bash -journalctl -u epicyon | grep 'File "' > .errors.txt +journalctl -u epicyon | grep 'File "\|ERROR:' > .errors.txt if [ ! -f .errors.txt ]; then echo 'No errors' else