A housing (60) has two side walls (67) and a covering wall (66) that define a U-shaped channel for covering terminal fittings (20). The housing (60) is mounted on a printed-circuit board (90) so that the U-shaped channel and the circuit board (90) define a bag-shaped space (70). The U-shaped channel of the housing (60) and the circuit board (90) are accommodated in a case (30) so that the bag-shaped space (70) faces down. A potting material (40) then is introduced into the case (30). Air vents (73) are formed through the covering wall (66) and provide communication between the bag-shaped space (70) and an outer surface of the covering wall (66). Thus, air trapped in the bag-shaped space (70) is discharged to the outside through the air vents (73).