1
0

Rolling dice threw an error #65

Closed
opened 2022-02-28 00:03:31 -08:00 by jketreno · 0 comments
Owner

(node:106019) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '5185da00f09665c9fa6d9b1cdfd98cb782d48cd013bd06577de7112273fe6a68' of undefined
at sessionFromColor (/var/www/peddlers-of-ketran/server/routes/games.js:281:21)
at distributeResources (/var/www/peddlers-of-ketran/server/routes/games.js:337:26)
at processRoll (/var/www/peddlers-of-ketran/server/routes/games.js:406:5)
at roll (/var/www/peddlers-of-ketran/server/routes/games.js:265:5)
at /var/www/peddlers-of-ketran/server/routes/games.js:1667:13
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:106019) 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: 1)
(node:106019) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

(node:106019) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '5185da00f09665c9fa6d9b1cdfd98cb782d48cd013bd06577de7112273fe6a68' of undefined at sessionFromColor (/var/www/peddlers-of-ketran/server/routes/games.js:281:21) at distributeResources (/var/www/peddlers-of-ketran/server/routes/games.js:337:26) at processRoll (/var/www/peddlers-of-ketran/server/routes/games.js:406:5) at roll (/var/www/peddlers-of-ketran/server/routes/games.js:265:5) at /var/www/peddlers-of-ketran/server/routes/games.js:1667:13 at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:95:5) (Use `node --trace-warnings ...` to show where the warning was created) (node:106019) 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: 1) (node:106019) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jketreno/peddlers-of-ketran#65
No description provided.