Use proper scan error logging