diff --git a/src/python/pants/engine/scheduler.py b/src/python/pants/engine/scheduler.py index 9ba3d998b5b..34378c55927 100644 --- a/src/python/pants/engine/scheduler.py +++ b/src/python/pants/engine/scheduler.py @@ -538,6 +538,8 @@ def products_request(self, products, subjects): if throw_root_states: unique_exceptions = tuple({t.exc for t in throw_root_states}) + # TODO: consider adding a new top-level function adjacent to products_request used for running console tasks, + # so that this code doesn't need to exist in this form. if len(unique_exceptions) == 1 and isinstance(unique_exceptions[0], GracefulTerminationException): raise unique_exceptions[0]