[BUGFIX] Detect recursions in PageContentErrorHandler