Remove warning by catching case where camera doesn't support capture