diff --git a/src/pyedb/configuration/cfg_pin_groups.py b/src/pyedb/configuration/cfg_pin_groups.py index 310653cc7f..890f4a8aa9 100644 --- a/src/pyedb/configuration/cfg_pin_groups.py +++ b/src/pyedb/configuration/cfg_pin_groups.py @@ -74,7 +74,7 @@ def create(self): comp = self._pedb.components.instances[self.reference_designator] pins = [p for p, obj in comp.pins.items() if obj.net_name in nets] if not self._pedb.siwave.create_pin_group(self.reference_designator, pins, self.name): - raise ValueError(f"Failed to create pin group {self.name}") + raise RuntimeError(f"Failed to create pin group {self.name}") else: raise ValueError(f"No net and pins defined for defining pin group {self.name}")