update events

This commit is contained in:
2025-09-18 13:45:42 -03:00
parent db63dfa64d
commit a83d4b56aa
18 changed files with 109 additions and 181 deletions

View File

@@ -33,6 +33,7 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
)
if 'cert' not in course:
logger.debug('Certificate not found')
# There is no certificate to issue from metadata
return False
@@ -73,7 +74,7 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
logger.exception(exc)
raise
logger.info(f'PDF uploaded successfully to {s3_uri}')
logger.debug(f'PDF uploaded successfully to {s3_uri}')
return enrollment_layer.update_item(
key=KeyPair(