catch ValueError from log.get_edited_object in cms.admin.pageadmin.PageAdmin.resolve