node-pdftk
node-pdftk copied to clipboard
More Verbose Logging
Is your feature request related to a problem? Please describe.
Every once in a while, when calling .output()
, node-pdftk
throws an error and the only information in the error message is the string "2"
causing our logs to read ERROR: 2
.
Describe the solution you'd like A way to turn on more verbose logging to investigate the cause of the error. Is there a way to do this currently?
I've ran into this as well. It seems the PDFtk library sometimes returns 2 as a generic exception. I pulled a screenshot off this page:
Sorry, I don't think there's much I can do here