diff --git a/src/main/java/dev/urner/volodb/service/DocumentService.java b/src/main/java/dev/urner/volodb/service/DocumentService.java index 216e81c..5330a18 100644 --- a/src/main/java/dev/urner/volodb/service/DocumentService.java +++ b/src/main/java/dev/urner/volodb/service/DocumentService.java @@ -27,6 +27,8 @@ public byte[] generatePdfFromHtml(String htmlContent) { browser.close(); return pdfBytes; + } catch (Exception e) { + System.err.println(e.getMessage()); } }