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