diff --git a/common.py b/common.py index d101c40..3d28e03 100644 --- a/common.py +++ b/common.py @@ -1094,8 +1094,8 @@ lunch aosp_{}-eng is_subpath = True if not is_subpath: raise Exception( - 'Can only accept targets inside {}, given: {}'.format( - parent, + 'Can only accept targets inside:\n{}\nGiven: {}'.format( + '\n'.join(parents), subpath ) )