Skip to content

thread '<unnamed>' panicked at 'called Result::unwrap() on an Err value: "Player team unknown,  #2

@colonelpanic8

Description

@colonelpanic8

thread '' panicked at 'called Result::unwrap() on an Err value: "Player team unknown, Epic("3a8ed04bd45f42f2959f07c064e40fb1")"', /home/imalison/.cargo/git/checkouts/boxcar-frames-a2f2d9d2945dda9a/6f4043e/src/processor.rs:267:14 here’s an example: https://ballchasing.com/replay/c589a5ae-13d2-484a-862d-ff414f48a7eb (seems like it mostly happens with replays that don’t start at the beginning of the game) that said, we should probably work on a better way of determining player team (another example 79408dbe-f50a-4cf9-9c4c-0979bb68afbd).. At minimum, we need to get rid of the unwrap here, and propagate the error through a Result instead: https://github.com/CUBTeamRocket/boxcar-frames/blob/b566ff44a5cd238e3bda54a4f60a088a92bb67b1/src/processor.rs#L263 (another uuid 79408dbe-f50a-4cf9-9c4c-0979bb68afbd)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions