We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5178240 commit f725668Copy full SHA for f725668
src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/target.py
@@ -263,11 +263,8 @@ def _target_is_ou_path(self, resolve_children=False):
263
ou_id=None,
264
excluded_paths=[],
265
)
266
- except ClientError as client_err:
267
- no_target_found = (
268
- client_err.response["Error"]["Code"] == "ParentNotFoundException"
269
- )
270
- if no_target_found and self.adf_deployment_maps_allow_empty_target:
+ except Exception:
+ if self.adf_deployment_maps_allow_empty_target:
271
LOGGER.info(
272
"Note: Target OU was not found in AWS Org for path %s",
273
self.path,
0 commit comments