Skip to content

Commit

Permalink
[PRMP-1284] add message if pointer is not created
Browse files Browse the repository at this point in the history
  • Loading branch information
steph-torres-nhs committed Jan 7, 2025
1 parent 9d2b821 commit d5dbb5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lambdas/services/upload_confirm_result_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def process_documents(self, documents: dict):
if len(lg_document_references) == 1:
self.send_message_to_nrl_queue()

else:
logger.info("Did not create NRL pointer, more than one document.")

except ClientError as e:
logger.error(f"Error with one of our services: {str(e)}")
raise UploadConfirmResultException(
Expand Down

0 comments on commit d5dbb5d

Please sign in to comment.