Added additional files to support stability and error handling

This commit is contained in:
Charles Frick
2023-08-02 13:40:25 -04:00
committed by GitHub
parent aa1211fb39
commit ced1e96f04
2 changed files with 19 additions and 0 deletions

14
error_email_template.html Normal file
View File

@@ -0,0 +1,14 @@
<!-- This file does NOT need to be included when distributing. It is just used to make making make_html() easier -->
<head>
<div style="text-align: center">
<h1 style="color: red">ICSFeedParser Error</h1>
</div>
</head>
<body>
<div style="text-align: center">
<h2 style="font-weight: normal; color: darkred">An error has occurred in ICSFeedParser.</h2>
<h2 style="font-weight: normal">Error Message: {error_message}</h2>
<h2 style="font-weight: normal">Error from ICSFeedParser script: {error}</h2>
</div>
</body>
</html>

5
requirements.in Normal file
View File

@@ -0,0 +1,5 @@
feedparser
requests
bs4
bleach
pip-tools