better logging of depth exceeded error