update events
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user