Skip to content
Snippets Groups Projects
Commit 0fd59394 authored by gcampes's avatar gcampes
Browse files

remove unwanted debug, adds back log for error

parent 16c8497e
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,7 @@ export default function userLeaving(credentials, userId) {
meeting_id: meetingId,
userid: userId,
};
Logger.verbose(`User '${requesterUserId}' left meeting '${meetingId}'`);
return RedisPubSub.publish(CHANNEL, EVENT_NAME, payload);
};
......@@ -7,7 +7,7 @@ export function joinRouteHandler(nextState, replace, callback) {
}
const { meetingID, userID, authToken } = nextState.params;
Auth.authenticate(meetingID, userID, authToken + '1233321')
Auth.authenticate(meetingID, userID, authToken)
.then(() => {
replace({ pathname: '/' });
callback();
......@@ -40,6 +40,7 @@ export function authenticatedRouteHandler(nextState, replace, callback) {
Auth.authenticate()
.then(callback)
.catch(reason => {
console.error(reason);
replace({ pathname: `/error/${reason.error}` });
callback();
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment