Closed KaylaCrush closed 1 year ago
currently just printing a message to the terminal with when this happens
this might require me to integrate the helper functions like create_table into the main body of the lobbyingdatapage class so that I have access to more info. Right now the dataframe_exception method only has access to the divided_text and columns that caused the error
so, this sounds insanely cocky, but so far my new beautiful soup refactor hasn't had any of the kinds of errors that were cropping up in the past. Knock on wood.
Ultimately for this project to be stable I'm going to need to have decent exception handling. When the program encounters a table it can't process, it should save the url or html to a file, raise a warning of some kind, and keep going.