[fix] make error handling async so event handlers can be setup and actually emit an `error` event
[fix] make error handling async so event handlers can be setup and actually emit an `error` event

DullReferenceException/node-priam,godaddy/node-priam