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

Error running sprint wc #38

@cwarwicker

Description

@cwarwicker
[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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions