ditesh / node-poplib

POP3 client library for Node.js
MIT License
128 stars 44 forks source link

fixing securePair unhandled exception in starttls() #21

Open khalilTN opened 9 years ago

khalilTN commented 9 years ago

When connecting bu fault to an imap server, an exception occurs, this exception cannot be handled as it does not arrive to my app layer. Adding a onError listener to the securePair in starttls() solved this.