Skip to content

Commit 60532cf

Browse files
committed
logger.exception
1 parent 7c94a5c commit 60532cf

File tree

1 file changed

+1
-1
lines changed
  • src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python

1 file changed

+1
-1
lines changed

src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/organizations.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ def create_ou(self, parent_ou_id, name):
502502
Name=name
503503
)
504504
except:
505-
LOGGER.error(f'Failed to create OU called {name}, with parent {parent_ou_id}')
505+
LOGGER.excpetion(f'Failed to create OU called {name}, with parent {parent_ou_id}')
506506
raise OrganizationsException()
507507
return ou
508508

0 commit comments

Comments
 (0)