Promises in ExpressJS - error handling