well in this case - the goal is to prevent werkzeug from quitting on a syntax error, so the import must be inside the try catch