The function inlineDocumentWithCb shouldn't run callback() within the try-statement because 1. it catches everything down the callback chain and 2. then re-runs it in the catch-statement. The callback() should be run after the try-catch and let the errors pass right though Juice.
The function inlineDocumentWithCb shouldn't run callback() within the try-statement because 1. it catches everything down the callback chain and 2. then re-runs it in the catch-statement. The callback() should be run after the try-catch and let the errors pass right though Juice.