Skip to content

Commit

Permalink
add: error-handling
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-urner committed Aug 15, 2024
1 parent 501e35a commit afc084e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/dev/urner/volodb/service/DocumentService.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public byte[] generatePdfFromHtml(String htmlContent) {
browser.close();

return pdfBytes;
} catch (Exception e) {
System.err.println(e.getMessage());
}
}

Expand Down

0 comments on commit afc084e

Please sign in to comment.