silentrob / Apricot

A simple Hpricot Clone for nodejs.
MIT License
336 stars 65 forks source link

Apricot.parse swallows errors in the callback #13

Closed lancefisher closed 12 years ago

lancefisher commented 12 years ago

I had an error in my callback that was difficult to track down because Apricot was swallowing it. This change continues to wrap the construction of a new Apricot object, but does not swallow errors in the callback.

silentrob commented 12 years ago

Thanks for the Pull request.