diff --git a/cylc/flow/config.py b/cylc/flow/config.py index b31119c1350..4ada6044a28 100644 --- a/cylc/flow/config.py +++ b/cylc/flow/config.py @@ -1787,7 +1787,7 @@ def generate_triggers(self, lexpression, left_nodes, right, seq, ) # Call the xtrigger's validate_config function if it has one. - with suppress(AttributeError): + with suppress(AttributeError, ImportError): get_func(xtrig.func_name, "validate_config", self.fdir)( xtrig.func_args, xtrig.func_kwargs,