Skip to content

Change RawMessage::unpack so that it doesn't panic on invalid messages #10

Description

@eminence

In RawMessage::unpack, we are doing a bunch of asserts to make sure that the incoming bytes are expected. These asserts will panic, which is not great. Instead, we should convert these assertions into normal if checks that return errors

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions