Skip to content

Provide better error messaging on null checks #121

@TheBlueMatt

Description

@TheBlueMatt

Several times we've had nulls creep in from user code and cause us to do something scary like a 0-ptr deref, which leaves users confused and frustrated, eg https://github.com/orgs/lightningdevkit/discussions/1820. We really should instead null check and call jni->FatalError, even though its a bit more code, because it makes users much happier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions