🐛 Apparently just printing the error as a log also sent me a fucking email
This commit is contained in:
parent
91e83b05f6
commit
a5d6920e88
1
main.py
1
main.py
|
@ -27,7 +27,6 @@ def crawl():
|
|||
end=datetime.strptime((datetime.now() + timedelta(days=365)).strftime('%Y-%m-%d'), '%Y-%m-%d'))
|
||||
except ValueError as error:
|
||||
# Value error sometimes happens because of a problem with dateutil and timezones
|
||||
print("Error fetching ical events. Terminating." + str(error))
|
||||
exit(1)
|
||||
|
||||
# ______ __ __ __ __ __ __ ____ _____ ____ __
|
||||
|
|
Loading…
Reference in New Issue
Block a user