Workarounds for exceptions

-Broke up the main function that did the strikethroughs into smaller parts
-Returning a proper status code 200 or 500
-Saving PDF when an exception occurs for debugging