1
0
Fork 0

Cover also some errors

This commit is contained in:
Luca Beltrame 2021-06-27 08:48:34 +02:00
parent 066864343f
commit 61daa109a1
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

@ -38,6 +38,8 @@ def main():
state = State.renewed
elif "not due for renewal" in line:
state = State.no_action
elif "unexpected error occurred" in line:
state = State.error
text = "\n".join(text)
subject = SUBJECT.format(str(state))