move try/catch into a smaller function
move try/catch into a smaller function
ck-lee/stormpath-sdk-node,peebles/stormpath-sdk-node,peebles/stormpath-sdk-node,stormpath/stormpath-sdk-node,stormpath/stormpath-sdk-node,wakashige/stormpath-sdk-node