Szpadel / chrome-headless-render-pdf

223 stars 67 forks source link

generatePdfBuffer doesn't work #34

Closed Mikk36 closed 6 years ago

Mikk36 commented 6 years ago

Because the finally block executes immediately and kills Chrome before it has had the change to return the data to the requester.

The return line is missing the await.