renamed LogError to Capture