Print username/password

This commit is contained in:
Girish Ramakrishnan 2015-07-27 11:50:07 -07:00
parent 380c32eb78
commit 3c73d17264
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ function verifyResponse(res, errorMessage) {
AppStore.prototype.getAccessToken = function (user) {
var res = request.get(this._origin + '/api/v1/login').auth(user.email, user.password).end();
verifyResponse(res, 'Could not login');
verifyResponse(res, 'Could not login as user:' + user.email + ' password:' + user.password);
return res.body.accessToken;
};