Currently, when adding the live show to the database, the Try/Catch will only respond to a KeyError. That works well, as generally speaking the show being found will return the correct data and be added easily into the database.
However, if an error related to the database occurs, the user will be none-the-wiser until they see their show has not been added, and undertake lengthy debugging.
A catch on the database addition needs to be included.
Currently, when adding the live show to the database, the Try/Catch will only respond to a KeyError. That works well, as generally speaking the show being found will return the correct data and be added easily into the database.
However, if an error related to the database occurs, the user will be none-the-wiser until they see their show has not been added, and undertake lengthy debugging.
A catch on the database addition needs to be included.