mirror of https://gitlab.com/bashrc2/epicyon
Log http server errors
parent
3bd90969a0
commit
ba38e6c995
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue