Skip to content

Commit e6fa113

Browse files
committed
additional commenting
1 parent f4cb497 commit e6fa113

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/Routers/UsersRouter.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ export class UsersRouter extends ClassesRouter {
4242
if (!response.results ||
4343
response.results.length == 0 ||
4444
!response.results[0].user) {
45-
throw new Parse.Error(Parse.Error.INVALID_SESSION_TOKEN, 'invalid session token');
45+
console.log(response);
46+
console.log(sessionToken);
47+
console.log(req);
48+
throw new Parse.Error(Parse.Error.INVALID_SESSION_TOKEN, 'NO RESPONSE? - invalid session token');
4649
} else {
4750
const user = response.results[0].user;
4851
// Send token back on the login, because SDKs expect that.

0 commit comments

Comments
 (0)