Skip to content

No operator data on new players #2

Description

@reality-exe

When attempting to get player data from someone who's new, it returns server error 500.

Here's what gets logged:

TypeError: Cannot convert undefined or null to object
    at Function.entries (<anonymous>)
    at /home/node/app/src/http/ubi-r6-stats.ts:529:74
    at Generator.next (<anonymous>)
    at fulfilled (/home/node/app/src/http/ubi-r6-stats.ts:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: No operator data.
    at /home/node/app/src/http/ubi-r6-stats.ts:168:19
    at Array.forEach (<anonymous>)
    at /home/node/app/src/http/ubi-r6-stats.ts:158:19
    at Generator.next (<anonymous>)
    at fulfilled (/home/node/app/src/http/ubi-r6-stats.ts:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions