Given that the Bigquery error is going to end this anyways and you're not actually giving the user any more information (e.g., the query used or anything else), I think you can just remove the try/except here altogether.