diff --git a/lambdas/FormProcessor/FormRequestProcessorFunction/src/main/java/com/levio/awsdemo/formrequestprocessor/App.java b/lambdas/FormProcessor/FormRequestProcessorFunction/src/main/java/com/levio/awsdemo/formrequestprocessor/App.java index 1eb3819..cb5517e 100644 --- a/lambdas/FormProcessor/FormRequestProcessorFunction/src/main/java/com/levio/awsdemo/formrequestprocessor/App.java +++ b/lambdas/FormProcessor/FormRequestProcessorFunction/src/main/java/com/levio/awsdemo/formrequestprocessor/App.java @@ -128,9 +128,11 @@ private String getS3ObjectContent(String key) { try { if (isPDF) { + System.out.print("is PDF"); final var file = s3Service.getObjectAsFile(key); return PDF.generateTextFromPDF(file); } else { + System.out.print("is other file extension"); return s3Service.getObjectAsString(key); } } catch(IOException e) {