mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-17 09:22:19 +00:00
add TODO commit about logging errors catched when party invite code is invalid
This commit is contained in:
parent
289d288f38
commit
dc4c6fa6e7
1 changed files with 1 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ module.exports = function(req, res, next) {
|
|||
|
||||
// Put query-string party (& guild but use partyInvite for backward compatibility)
|
||||
// invitations into session to be handled later
|
||||
// TODO once we have proper logging in place, log errors here
|
||||
if(req.query.partyInvite){
|
||||
try{
|
||||
req.session.partyInvite = JSON.parse(utils.decrypt(req.query.partyInvite));
|
||||
|
|
|
|||
Loading…
Reference in a new issue