Skip to content

Commit ef62da7

Browse files
committed
fix(manage): include worker and beat services in status/logs
1 parent 60a62ba commit ef62da7

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

manage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ restart)
2727
echo "Services restarted"
2828
;;
2929
status)
30-
systemctl status relaysms-publisher-rest relaysms-publisher-grpc
30+
systemctl status relaysms-publisher-rest relaysms-publisher-grpc relaysms-publisher-worker relaysms-publisher-beat
3131
;;
3232
logs)
33-
journalctl -u relaysms-publisher-rest -u relaysms-publisher-grpc -f
33+
journalctl -u relaysms-publisher-rest -u relaysms-publisher-grpc -u relaysms-publisher-worker -u relaysms-publisher-beat -f
3434
;;
3535
enable)
3636
check_sudo

publications.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def validate(text_payload: str) -> tuple[bytes, bytes, rrs.V1PayloadsTypes]:
5353
try:
5454
payload_bytes = base64.b64decode(text_payload)
5555
except Exception as exc:
56+
logger.error("Failed to decode base64 payload: %s", exc)
5657
raise PayloadMalformedError("Payload is not valid base64.") from exc
5758

5859
try:

0 commit comments

Comments
 (0)