node-pdftk icon indicating copy to clipboard operation
node-pdftk copied to clipboard

More Verbose Logging

Open atelic opened this issue 3 years ago • 1 comments

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?

atelic avatar Sep 16 '21 16:09 atelic

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:

image

Sorry, I don't think there's much I can do here

jjwilly16 avatar Sep 16 '21 19:09 jjwilly16