Log page contents on failure