wrap view in a try block and log any exceptions that are raised for debugging purposes