Headless: Avoid unnecessary exception. Better log