Caused by: Error
at Firestore.getAll (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/@google-cloud/firestore/build/src/index.js:809:23)
at DocumentReference.get (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/@google-cloud/firestore/build/src/reference.js:208:32)
at getOrCreateUser (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/routes/login.js:14:24)
at /Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/routes/login.js:45:23
at Layer.handle [as handle_request] (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/express/lib/router/layer.js:95:5)
at next (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/express/lib/router/layer.js:95:5)
at /Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/express/lib/router/index.js:335:12)
(node:15663) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 12)
Caused by: Error at Firestore.getAll (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/@google-cloud/firestore/build/src/index.js:809:23) at DocumentReference.get (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/@google-cloud/firestore/build/src/reference.js:208:32) at getOrCreateUser (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/routes/login.js:14:24) at /Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/routes/login.js:45:23 at Layer.handle [as handle_request] (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/express/lib/router/layer.js:95:5) at next (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/express/lib/router/route.js:137:13) at Route.dispatch (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/express/lib/router/route.js:112:3) at Layer.handle [as handle_request] (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/express/lib/router/layer.js:95:5) at /Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/express/lib/router/index.js:281:22 at Function.process_params (/Users/hlzhou/cmu/fun/coffee_chat/website/coffee-chats-website/coffee-chats-server/node_modules/express/lib/router/index.js:335:12) (node:15663) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 12)