add basic error logging for phantom page