piguy79 / GalCon

Server, client, etc.
1 stars 0 forks source link

Error on inviting to a game #247

Closed piguy79 closed 10 years ago

piguy79 commented 10 years ago

Got this inviting devin to a friend game:

Apr 21 10:30:10 damp-crag-7750 app/web.1: 10.121.6.32 POST /gamequeue/invite Apr 21 10:30:10 damp-crag-7750 app/web.1: 10.121.6.32 {"session":"f90abeb4b468649079d8e83511013011fefa1068c20dbf28fdf9d4f67929c5a5","requesterHandle":"PiGuy","mapKey":3,"inviteeHandle":"D2DOTOH"} Apr 21 10:30:10 damp-crag-7750 app/web.1: 10.121.6.32 ReferenceError: handle is not defined Apr 21 10:30:10 damp-crag-7750 app/web.1: at p.then.then.then.then.then.then.inviteeUser (/app/GalCon-Server/routes/index.js:1011:20) Apr 21 10:30:10 damp-crag-7750 app/web.1: at Promise.handle (/app/node_modules/mongoose/node_modules/mpromise/lib/promise.js:203:15)

conormullen commented 10 years ago

Oh nice. Looks like you are hitting the open limit and the error is using an undefined field

conormullen commented 10 years ago

I need to make sure that's filtering out anything that has a winner in the return also

piguy79 commented 10 years ago

Also, the UI showed a blank screen on error. I had to force kill the app

conormullen commented 10 years ago

Cool ok good to know, tricky one to reproduce. Will need to write some tests