diff --git a/eng/mgmt/automation/generate_data.py b/eng/mgmt/automation/generate_data.py index 9b30184914da6..c1cbf52aeddb2 100755 --- a/eng/mgmt/automation/generate_data.py +++ b/eng/mgmt/automation/generate_data.py @@ -77,7 +77,8 @@ def find_sdk_folder(): sdk_folder = find_sdk_folder() logging.info('SDK folder: ' + sdk_folder) - succeeded = True + if sdk_folder: + succeeded = True except subprocess.CalledProcessError as error: logging.error(f'tsp-client init fail: {error}')