Catch Flask Exceptions