Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Error running sprint wc #38

Open
cwarwicker opened this issue Jan 20, 2023 · 1 comment
Open

Error running sprint wc #38

cwarwicker opened this issue Jan 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@cwarwicker
Copy link

[2023-01-20 04:56:53][INFO] user 343564229669945356 called sprint in server 1055897168889774200
{"options":[{"name":"wc","type":1,"options":[{"name":"amount","type":4,"value":5517}]}],"uuid":"ecbcc59f-d170-4593-bb3f-053883f9561a"}
{"uuid":"ecbcc59f-d170-4593-bb3f-053883f9561a","stack":"TypeError: Cannot create property 'current_wc' on boolean 'false'\n    at Sprint.updateUser (/app/src/classes/sprint.js:554:31)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Sprint.setUserWordCount (/app/src/classes/sprint.js:624:13)\n    at async Object.execute (/app/src/commands/writing/sprint.js:203:20)\n    at async Client.<anonymous> (/app/src/bot.js:59:9)"}

Looks like sprint_user record is somehow missing or empty?

@cwarwicker cwarwicker added the bug Something isn't working label Jan 20, 2023
@cwarwicker
Copy link
Author

Unable to replicate so far

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant