[fix] Change callback order in error handling
Merge pull request #420 from nodejitsu/correct-cb-order

[fix] Change callback order in error handling